打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
angular eject
There's a nice way to eject webpack.config.js from angular-cli. Just run:
$ ng eject

This will generate webpack.config.js in the root folder of your project, and you're free to configure it the way you want. The downside of this is that build/start scripts in your package.json will be replaced with the new commands and instead of

$ ng serve

you would have to do something like

$ npm run build & npm run start

This method should work in all the recent versions of angular-cli (I personally tried a few, with the oldest being 1.0.0-beta.21, and the latest 1.0.0-beta.32.3)

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
webpack-cli与webpack-dev-server兼容性问题
ng config -g cli.packageManager npm 命令行的使用
错过了Vue CLI2,还要错过Vue CLI3?
vue-cli脚手架项目搭建的流程
vue开发公共组件并发布到npm
基于 Vue 的 Electron 项目搭建
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服