Angular 6 CLI -> how to make ng build build project + libraries

前端 未结 9 573
感情败类
感情败类 2020-12-31 01:58

So the question is pretty basic but I can\'t find it.

I created a new app through ng new my-project, followed by a ng g library my-library.

9条回答
  •  醉话见心
    2020-12-31 02:22

    ng-build already includes your libraries in the main.js bundle. No need to separately build each library.

提交回复
热议问题