Open
Description
在组件开发项目中:
{
"build-plugin-component": "^1.9.2",
"build-scripts": "^1.2.1",
"webpack": "^5.64.4",
"webpack-dev-server": "^4.6.0"
}
运行 build-scripts start 报错
ERR! Invalid options object. Dev Server has been initialized using an options object that does not match the API schema.
- options has an unknown property 'overlay'. These properties are valid:
object { allowedHosts?, bonjour?, client?, compress?, devMiddleware?, headers?, historyApiFallback?, host?, hot?, http2?, https?, ipc?, liveReload?, magicHtml?, onAfterSetupMiddleware?, onBeforeSetupMiddleware?, onListening?, open?, port?, proxy?, server?, setupExitSignals?, static?, watchFiles?, webSocketServer? }
运行 build-scripts build 正常
Metadata
Metadata
Assignees
Labels
No labels
Activity
imsobear commentedon Dec 6, 2021
组件工程(build-plugin-component)还没有支持 webpack 5
viko16 commentedon Dec 7, 2021
近期有适配的计划吗?