alanhe421 / CodeTracker

:tada:a Wakatime client
http://1991421.cn/about
6 stars 0 forks source link

webpackJsonp not found #22

Open alanhe421 opened 6 years ago

alanhe421 commented 6 years ago

@ionic/app-scripts升级到2.0,index页面配置需要修改,增加了vendor导入

https://github.com/ionic-team/ionic-app-scripts/blob/master/CHANGELOG.md

<body>

  <!-- 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>

</body>