mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
make e2e build faster
This commit is contained in:
@@ -32,6 +32,7 @@ module.exports = {
|
||||
to: 'long-stack-trace-zone.js'
|
||||
},
|
||||
'angular2.js',
|
||||
'angular2-di.js',
|
||||
'ionic2.js',
|
||||
],
|
||||
|
||||
|
||||
@@ -9,11 +9,13 @@
|
||||
<% buildConfig.scripts.forEach(function(script) {
|
||||
var src = script.to || script; %><script src="<%= PREFIX %>/lib/<%= src %>"></script>
|
||||
<% }); %>
|
||||
<script src="main.js"></script>
|
||||
</head>
|
||||
<body ion-app>
|
||||
</body>
|
||||
<script>
|
||||
System.import('app/main').catch(console.error.bind(console));
|
||||
System.config({
|
||||
traceurOptions: {annotations: true, types: true}
|
||||
});
|
||||
System.import('main').catch(console.error.bind(console));
|
||||
</script>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user