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.