For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt, and this page is available as Markdown at /zh/api/rspeedy.cssloader.importloaders.md.
这是开发预览网站。请访问正式文档 lynxjs.org

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;

Default Value

1 when compiling CSS files and 2 when compiling Sass or Less files

Remarks

See css-loader#import-loaders for details.