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
Newest css-loader validate the options of css-loader.
And support new usage with css modules.
react-scripts has depended on css-loader@3.4.2
Use the addLessLoader newest react-scripts will throw error:
ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
- options has an unknown property 'localIdentName'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
So, we need rewrite these line to support newest css-loader options.
Newest
css-loader
validate the options ofcss-loader
.And support new usage with css modules.
react-scripts has depended on
css-loader@3.4.2
Use the
addLessLoader
newestreact-scripts
will throw error:So, we need rewrite these line to support newest
css-loader
options.customize-cra/src/customizers/webpack.js
Lines 131 to 132 in 89690d7
customize-cra/src/customizers/webpack.js
Lines 193 to 194 in 89690d7
The text was updated successfully, but these errors were encountered: