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
Failed to compile.
./src/layouts/AppLayout.module.less (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-8-1!./node_modules/postcss-loader/src??postcss!./node_modules/less-loader/dist/cjs.js??ref--6-oneOf-8-3!./src/layouts/AppLayout.module.less)
ValidationError: Invalid options object. CSS Loader has been initialised 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? }
Hi @Menci, sorry for not getting back to you sooner. I appreciate the issue and your PR.
We currently have #185 by @onlyling merged into the next branch (since it's a breaking change). This is published under customize-cra@next and uses the new modules configuration format for css-loader.
However that PR changed localIdentName from "[path][name]__[local]--[hash:base64:5]" to "[local]--[hash:base64:5]", while your change preserves the existing localIdentName.
Do you have any familiarity with css-loader/less-loader configuration? I don't know much about either of them, so I'm not sure what would work better for us. Any opinions?
Maybe same as rails/webpacker#2197?
The text was updated successfully, but these errors were encountered: