build-scripts
build-scripts copied to clipboard
webpack-dev-server 4 和 build-scripts+build-plugin-component 不兼容
在组件开发项目中:
{
"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 正常
组件工程(build-plugin-component)还没有支持 webpack 5
组件工程(build-plugin-component)还没有支持 webpack 5
近期有适配的计划吗?