Home > @lynx-js/rspeedy > CssLoader > importLoaders

CssLoader.importLoaders property

The option importLoaders allows you to configure how many loaders before css-loader should be applied to @imported resources and CSS modules imports.

Signature:

importLoaders?: 0 | 1 | 2 | undefined;

Remarks

The default value of importLoaders is:

  • 1 when compiling CSS files

  • 2 when compiling Sass or Less files

See css-loader#import-loaders for details.

除非另有说明,本项目采用知识共享署名 4.0 国际许可协议进行许可,代码示例采用 Apache License 2.0 许可协议进行许可。