You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following your instructions given in this issue...
Operating System: Debian Buster
Node Version: 14.7.0
NPM Version: 6.14.7
webpack Version: 4.44.1
css-loader Version: 4.2.1
Expected Behavior / Situation
Run webpack with the following configuration, ie. containing an inline - string - definition of css-loader that contains number as value for importLoaders:
ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options.importLoaders should be one of these:
boolean | integer
-> Enables/Disables or setups number of loaders applied before CSS loader (https://github.com/webpack-contrib/css-loader#importloaders).
Details:
* options.importLoaders should be a boolean.
* options.importLoaders should be a integer.
Following your instructions given in this issue...
Expected Behavior / Situation
Run
webpack
with the following configuration, ie. containing an inline - string - definition ofcss-loader
that contains number as value forimportLoaders
:Actual Behavior / Situation
Error thrown:
Modification Proposal
css-loader/src/options.json
Line 133 in 8353353
css-loader/src/utils.js
Line 225 in 8353353
The text was updated successfully, but these errors were encountered: