Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProcessedFile

Hierarchy

  • ProcessedFile

Index

Properties

content

content: string | Result

The result of processing the file. If processed with postcss, return the Result instead of a string for efficiency.

Optional dependencies

dependencies: string[]

If the file depends on other files that may change those dependencies should be returned so that builds and caches can be correctly invalidated.

Optional sourceMap

sourceMap: RawSourceMap | string

If the file was processed during import, a sourcemap should be provided. If a postcss.Result is returned for contents, the sourcemap from that object will be used if this property is not set.

Generated using TypeDoc