support css loader v3
Iuriy-Budnikov opened this issue · comments
Iurii commented
Module build failed (from ./node_modules/css-loader/dist/cjs.js):
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 'exportOnlyLocals'. These properties are valid:
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals? }
at validate (/node_modules/css-loader/node_modules/schema-utils/dist/validate.js:49:11)
Iurii commented
Use UNIVERSAL_WEBPACK_CSS_LOADER_V3=true