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.

Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.