angular 2 - ng build vs webpack build

前端 未结 2 1464
孤街浪徒
孤街浪徒 2021-02-08 23:32

I am looking to see what is the best approach to buid and deploy my angular 2 web application?

I finally need to serve it as a web bundle resource to my dropwizard appl

2条回答
  •  执笔经年
    2021-02-09 00:21

    angular cli use webpack in the current version and you can config your builds using this command

     ng eject
    

    more info here https://github.com/angular/angular-cli/wiki/eject with this command your webpack configuration file will appear and you can customnize.

提交回复
热议问题