有什么方法可以配置angular.json以停止将块附加到index.html?

时间:2019-03-21 21:09:51

标签: angular angular-cli angular7 webpack-dev-server

我正在尝试制作一个Angular 7 Boilerplate来导出Web元素以像Micro Frontends样式一样开发。

我已经在Angular 5中有一个项目用作基础项目,我的想法是创建 Modules项目最终导出以引用基础项目 strong>作为模块 像<script type="module" src="//localhost:8085/w-comp/main.js"></script>

Modules项目中。我想使用构建的基础项目作为contentBase,就像我在此处使用香草制作的示例:https://github.com/walker-walks/angular-with-external-web-components/tree/master/external

为此,我想停止Angular自动将块附加到index.html。有什么办法吗?

chunks the Angular import automatically

0 个答案:

没有答案