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

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

问题描述

我正在研究 webpack 和 angular-cli,即使 angular-cli 应该使用 webpack,我在创建一个文件时也看不到任何 webpack.config.js 文件带有 ng new

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

有人知道这在 angular-cli 中是如何工作的吗?

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

推荐答案

我发现了 this 关于在 angular-cli 中配置 webpack 的线程.目前看来 webpack 不可配置,但他们正在努力.

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天全站免登陆