Interface: CssExtractRspackPluginOptions
The options for @lynx-js/css-extract-webpack-plugin!CssExtractRspackPlugin
Extends
CssExtractRspackPluginOptions
Properties
attributes?
optionalattributes?:Record<string,string>
Inherited from
ExternalCssExtractRspackPluginOptions.attributes
chunkFilename?
optionalchunkFilename?:string
The name of non-initial CSS chunk files
Remarks
When set, CSS chunks of lazy bundles still go to
.lynx/lazy-bundle/<name>/<layer>.css (or .lynx/lazy-bundle/<name>.css
when the chunk has no layer); this template applies to the other chunks.
Overrides
ExternalCssExtractRspackPluginOptions.chunkFilename
cssPlugins?
optionalcssPlugins?:Plugin[]
plugins passed to parser
enforceRelative?
optionalenforceRelative?:boolean
Inherited from
ExternalCssExtractRspackPluginOptions.enforceRelative
filename?
optionalfilename?:string
The name of each output bundle.
Overrides
ExternalCssExtractRspackPluginOptions.filename
ignoreOrder?
optionalignoreOrder?:boolean
Inherited from
ExternalCssExtractRspackPluginOptions.ignoreOrder
insert?
optionalinsert?:string| ((linkTag:HTMLLinkElement) =>void)
Inherited from
ExternalCssExtractRspackPluginOptions.insert
linkType?
optionallinkType?:false|LiteralUnion<"text/css",string>
Inherited from
ExternalCssExtractRspackPluginOptions.linkType
pathinfo?
optionalpathinfo?:boolean
Inherited from
ExternalCssExtractRspackPluginOptions.pathinfo
runtime?
optionalruntime?:boolean
Inherited from
ExternalCssExtractRspackPluginOptions.runtime