This is the dev preview website. Check out the document at 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.