mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
less bundle, more fundle
This commit is contained in:
21
config.js
21
config.js
@@ -1,28 +1,9 @@
|
||||
System.config({
|
||||
"baseURL": "/",
|
||||
"transpiler": "traceur",
|
||||
"paths": {
|
||||
"*": "*.js",
|
||||
"github:*": "jspm_packages/github/*.js",
|
||||
"npm:*": "jspm_packages/npm/*.js",
|
||||
"ionic/*": "dist/js/ionic.bundle.js",
|
||||
"angular2/*": "scripts/resources/angular2.dev.js"
|
||||
},
|
||||
"bundles": {
|
||||
"dist/js/ionic.bundle": [
|
||||
"ionic"
|
||||
],
|
||||
"scripts/resources/angular2.dev": [
|
||||
"angular2"
|
||||
]
|
||||
"ionic/*": "ionic/*"
|
||||
}
|
||||
});
|
||||
|
||||
System.config({
|
||||
"map": {
|
||||
"babel": "npm:babel-core@5.6.5",
|
||||
"traceur": "github:jmcriffey/bower-traceur@0.0.88",
|
||||
"traceur-runtime": "github:jmcriffey/bower-traceur-runtime@0.0.88"
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -40,9 +40,13 @@
|
||||
</ion-app>
|
||||
|
||||
<!-- SystemJS Loader -->
|
||||
<script src="/scripts/resources/traceur-runtime.js"></script>
|
||||
<script src="/jspm_packages/system.src.js"></script>
|
||||
<script src="/config.js"></script>
|
||||
|
||||
<!-- Angular bundle -->
|
||||
<script src="/scripts/resources/angular2.dev.js"></script>
|
||||
|
||||
<!-- ionic bundle -->
|
||||
<script src="/dist/js/ionic.bundle.js"></script>
|
||||
|
||||
|
||||
5
scripts/resources/traceur-runtime.js
Normal file
5
scripts/resources/traceur-runtime.js
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user