extend build-pipeline of angular-cli

2019-05-12 01:18发布

Can i extend the build-process of angular-cli without rewriting angular-cli itself? Like in the old days, when i wrote my gulp/grunt tasks for the build-process and i could change everything i wanted.

I want to change the default build-system of the angular-cli. Inline the styles and html templates in production build, change the order in which the files are compiled, concatenated,.... Prevent compiling of sass files having "_"-prefix, like _home, _about. Pass some arguments/config to the build command.

1条回答
Viruses.
2楼-- · 2019-05-12 01:37

The build process is extendable in the same way the ember-cli is, you can refer to their documentation.

By this method you will be able to override the existing build command and task and replace it with what you'd like.

查看更多
登录 后发表回答