简体   繁体   English

如何使用 bazel 构建 angular 7 项目

[英]How to build angular 7 project using bazel

I have angular 7 project, I need to do the production build of this in the bazel.我有 angular 7 项目,我需要在 bazel 中进行生产构建。 The bazel is building other go langauage things, along with that i want a7 to be built. bazel 正在构建其他 go 语言的东西,以及我想要构建的 a7。

NOTE: i want minimum changes to be done to my existing a7 project.注意:我希望对我现有的 a7 项目进行最少的更改。

What is the best way?什么是最好的方法?

Have a look at the example here: https://github.com/bazelbuild/rules_nodejs/tree/stable/examples/angular看看这里的例子: https://github.com/bazelbuild/rules_nodejs/tree/stable/examples/angular

You shouldn't need to change the angular code it self just the build pipeline.您不需要更改 angular 代码它自己只是构建管道。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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