[W] [webpackJsonp]
不太可能返回引用错误" WebpackJsonp未定义"错误弹出窗口。
我发现Stackoverflow之一已经回答将你的vendor.js放在main.js之前,但不幸的是它在我的情况下不起作用。
答案 0 :(得分:1)
重大改变
这意味着必须修改src / index.html以包含新的供应商脚本标记。此新脚本标记必须放在main.js脚本标记上方。例如
<!-- Ionic's root component and where the app will load -->
<ion-app></ion-app>
<script src="cordova.js"></script>
<!-- The polyfills js is generated during the build process -->
<script src="build/polyfills.js"></script>
<!-- all code from node_modules directory is here -->
<script src="build/vendor.js"></script>
<!-- The bundle js is generated during the build process -->
<script src="build/main.js"></script>