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
Module build failed (from ./node_modules/@tarojs/webpack-runner/node_modules/css-loader/dist/cjs.js):
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? }
相关平台
H5
浏览器版本: 微信开发者工具 版本1.03.2006090
使用框架: React
复现步骤
在h5下配置
cssLoaderOption: {
// localIdentName:' [path][name].[hash:base64]'
// },
期望结果
编译不出错
实际结果
编译出错,报错如下:
Module build failed (from ./node_modules/@tarojs/webpack-runner/node_modules/css-loader/dist/cjs.js):
ValidationError: Invalid options object. CSS Loader has been initialized using an options object that does not match the API schema.
object { url?, import?, modules?, sourceMap?, importLoaders?, localsConvention?, onlyLocals?, esModule? }
error Command failed with exit code 1.
环境信息
The text was updated successfully, but these errors were encountered: