-
Notifications
You must be signed in to change notification settings - Fork 23
打包后,如何文件归类,及打包后ie报错 #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
版本信息
|
提供可能的解决方案
好像没2 了,先试试1行不行,不行再给你编一个 |
解决了问题4, 怪自己以前没有仔细看,里面有写ie需要的core-js,qqq, |
资源那个是配置angular.json,有相关的配置策略,glob匹配,input导入路径,output导出路径,如果你想要更详细的话找angular-cli的wiki里面有 |
问题 iii 有过讨论,参见这个:angular/angular-cli#3415 目前还没有打算内置支持,不过已经重新纳入讨论了。 问题1、2 其实可以考虑自己写一个 postbuild 脚本,对它们进行处理,因为你需要修改的地方其实只有 dist/index.html 而已。相比 ngx-build-plugins 等方案,这种方案更简洁,也更少侵入性。 |
运行ng build --prod后(注意:下列问题都是打包后)
SCRIPT438: 对象不支持“fill”属性或方法
vendor.6c9cf85ae50a464546d9.js (1,121979)
感谢回答!!
The text was updated successfully, but these errors were encountered: