LoadedConfig
- LoadedConfig: { file?: undefined | string; options?: PostCSSProcessOptions; plugins?: (Plugin<unknown> | Transformer | Processor)[] }
+ LoadedConfig: { file?: undefined | string; options?: postcss.ProcessOptions; plugins?: (Transformer | Processor)[] }
@@ -3250,10 +3250,10 @@
Type declaration
Optional file?: undefined | string
- Optional options?: PostCSSProcessOptions
+ Optional options?: postcss.ProcessOptions
- Optional plugins?: (Plugin<unknown> | Transformer | Processor)[]
+ Optional plugins?: (Transformer | Processor)[]
@@ -3264,7 +3264,7 @@ ModulesOptions
ModulesOptions: { exportGlobals?: ScopeOptions["exportGlobals"]; failOnWrongOrder?: ExtractImportsOptions["failOnWrongOrder"]; generateScopedName?: string | ScopeOptions["generateScopedName"]; getJSON?: undefined | ((file: string, json: {}, out?: undefined | string) => void); mode?: LocalByDefaultOptions["mode"] }
ObjectWithUnknownProps
[prop:PostCSSLoaderOptions: { autoModules: NonNullable<Options["autoModules"]>; config: NonNullable<Options["config"]>; extensions: NonNullable<Options["extensions"]>; extract: NonNullable<Options["extract"]>; inject: NonNullable<Options["inject"]>; minimize: NonNullable<Options["minimize"]>; modules: NonNullable<Options["modules"]>; namedExports: NonNullable<Options["namedExports"]>; postcss: { parser?: NonNullable<Exclude<Options["parser"], string>>; plugins?: NonNullable<Options["plugins"]>; stringifier?: NonNullable<Exclude<Options["stringifier"], string>>; syntax?: NonNullable<Exclude<Options["syntax"], string>> } }
+ PostCSSLoaderOptions: { autoModules: NonNullable<Options["autoModules"]>; config: NonNullable<Options["config"]>; extensions: NonNullable<Options["extensions"]>; extract: NonNullable<Options["extract"]>; inject: NonNullable<Options["inject"]>; minimize: NonNullable<Options["minimize"]>; modules: NonNullable<Options["modules"]>; namedExports: NonNullable<Options["namedExports"]>; postcss: { parser?: postcss.Parser; plugins?: Transformer[]; stringifier?: postcss.Stringifier; syntax?: postcss.Syntax } }
@@ -3444,7 +3444,7 @@
PostCSSLoaderOptions
-namedExports:
-
postcss: { parser?: NonNullable<Exclude<Options["parser"], string>>; plugins?: NonNullable<Options["plugins"]>; stringifier?: NonNullable<Exclude<Options["stringifier"], string>>; syntax?: NonNullable<Exclude<Options["syntax"], string>> }
+postcss: { parser?: postcss.Parser; plugins?: Transformer[]; stringifier?: postcss.Stringifier; syntax?: postcss.Syntax }
Options for PostCSS processor
@@ -3452,7 +3452,7 @@postcss:
-
- see
@@ -3462,7 +3462,7 @@
Optional parser?: NonNullable<Exclude<Options["parser"], string>>
+Optional parser?: postcss.Parser
Optional parser -
- see
@@ -3472,7 +3472,7 @@
Optional plugins?: NonNullable<Options["plugins"]>
+Optional plugins?: Transformer[]
Optional plugins -
- see
@@ -3482,7 +3482,7 @@
Optional stringifier?: NonNullable<Exclude<Options["stringifier"], string>>
+Optional stringifier?: postcss.Stringifier
Optional stringifier-
-
- see
@@ -3502,7 +3502,7 @@ SASSLoaderOptions: { data?: undefined | string; importer?: SASSImporter | SASSImporter[] }
@@ -3786,7 +3786,7 @@ -
@@ -4202,7 +4202,7 @@ -
@@ -4546,7 +4546,7 @@ loader: object
Optional syntax?: NonNullable<Exclude<Options["syntax"], string>>
+Optional syntax?: postcss.Syntax
SASSLoaderOptions
Returns T<-
@@ -3803,19 +3803,19 @@
-
-
-
-
-
@@ -4144,7 +4144,7 @@
ensurePostCSSOption
-- ensure
PostCSSOption<T>(option: string | T | undefined): T | undefined
+ - ensure
PostCSSOption<T>(option: string | T): T
ensurePostCSSOption
Type parameters
T: Parser | Syntax | Stringifier
+T: Parser | Syntax | Stringifier | Transformer | null | undefined
Parameters
option: string | T | undefined
+option: string | T
Option
Returns T | undefined
+Returns T
resolved
option
isModuleFile
loadConfig
Const loader