angular-cli新项目中的webpack.config.js在哪里? [英] Where is the webpack.config.js in angular-cli new project?

查看:296
本文介绍了angular-cli新项目中的webpack.config.js在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究webpack和angular-cli,即使应该使用angular-cli使用webpack,但用ng new webpack.config.js文件>

有人知道它在angular-cli中如何工作吗?

解决方案

我发现有关在angular-cli中配置webpack的线程.似乎webpack目前无法配置,但他们正在使用它.

I'm looking into webpack and also angular-cli, and even though angular-cli is supposed to use webpack, I can't see any webpack.config.js file when I create a new project with ng new

Does anybody know how does this work in angular-cli?

解决方案

I found this thread about configuring webpack in angular-cli. It seems webpack is not configureable at the moment, but they are working on it.

这篇关于angular-cli新项目中的webpack.config.js在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆