如何编译Angualar2并进行生产部署?我已经检查过很多像这样的网站(但这会产生错误并且 bundle.min.js无法使用index.html-maybe我错了).也尝试了角度cli,但再次为RC-4,这是行不通的.
bundle.min.js
index.html
想知道什么是最佳实践,因为tsc已经创建了js,它们只是作为单独的文件导入(这样做会很难看).
PS:已经有与此相关的话题这样的问题这些.但这是基本要求,我无法得到答案.
compilation dev-to-production angular
angular ×1
compilation ×1
dev-to-production ×1