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
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
#13558
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
configuration.resolve.alias['.map$'] should be a string.
-> New request
at webpack (D:\前端学习资料\taroify-demo\node_modules\webpack\lib\webpack.js:31:9)
at D:\前端学习资料\taroify-demo\node_modules@tarojs\webpack-runner\src\index.ts:36:20
at Generator.next ()
at fulfilled (D:\前端学习资料\taroify-demo\node_modules@tarojs\webpack-runner\dist\index.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The text was updated successfully, but these errors were encountered:
相关平台
H5
浏览器版本: Chrome 62
使用框架: React
复现步骤
taro build --type h5报错,而且我并没有配置什么.map$
期望结果
成功编译
实际结果
编译失败
环境信息
补充信息
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
-> New request
at webpack (D:\前端学习资料\taroify-demo\node_modules\webpack\lib\webpack.js:31:9)
at D:\前端学习资料\taroify-demo\node_modules@tarojs\webpack-runner\src\index.ts:36:20
at Generator.next ()
at fulfilled (D:\前端学习资料\taroify-demo\node_modules@tarojs\webpack-runner\dist\index.js:5:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
The text was updated successfully, but these errors were encountered: