简体   繁体   中英

angular-cli: how do I configure webpack?

Ok, I'm very pleased that angular-cli exists. Hooray for standards!

However, I am a little disturbed that webpack is operating somewhere in the depths of the angular-cli code and there is not, for example, a webpack.config.js.

What gives? How do I configure loaders? Plugins? Is ng serve using the webpack server in the background?

Can someone elucidate?

目前没有办法用angular-cli配置webpack,听起来好像不会很快: https//github.com/angular/angular-cli/issues/1656

您可以从项目中的cli.json文件中执行此操作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM