Skip to content

Commit 2c08ddc

Browse files
committed
chore(): remove unnecessary scripts from package
1 parent 07f07ad commit 2c08ddc

2 files changed

Lines changed: 10 additions & 20 deletions

File tree

gulpfile.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,7 @@ gulp.task('sass', function() {
284284
});
285285

286286
/**
287-
* I'm not quite sure what this is for, people tell me we use it internally to
288-
* test themes.
287+
* Creates Ionic themes for testing.
289288
*/
290289
gulp.task('sass.themes', function() {
291290
var sass = require('gulp-sass');
@@ -336,15 +335,7 @@ gulp.task('copy.scss', function() {
336335
gulp.task('copy.libs', function() {
337336
var merge = require('merge2');
338337
var webAnimations = gulp.src([
339-
'scripts/resources/web-animations-js/web-animations.min.js',
340-
'node_modules/es6-shim/es6-shim.min.js',
341-
'node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js',
342-
'node_modules/systemjs/dist/system.src.js',
343-
'node_modules/angular2/bundles/angular2-polyfills.js',
344-
'node_modules/angular2/bundles/angular2.dev.js',
345-
'node_modules/angular2/bundles/router.dev.js',
346-
'node_modules/angular2/bundles/http.dev.js',
347-
'node_modules/rxjs/bundles/Rx.js'
338+
'scripts/resources/web-animations-js/web-animations.min.js'
348339
])
349340
.pipe(gulp.dest('dist/js'));
350341

scripts/e2e/e2e.template.html

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,15 @@
3333
}
3434
</script>
3535

36-
<script src="../../../js/es6-shim.min.js"></script>
37-
<script src="../../../js/es6-module-loader.src.js"></script>
38-
<script src="../../../js/system.src.js"></script>
39-
<script src="../../../js/angular2-polyfills.js"></script>
40-
<script src="../../../js/angular2.dev.js"></script>
41-
<script src="../../../js/router.dev.js"></script>
42-
<script src="../../../js/http.dev.js"></script>
43-
<script src="../../../js/web-animations.min.js"></script>
36+
<script src="../../../../node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js"></script>
37+
<script src="../../../../node_modules/systemjs/dist/system.src.js"></script>
38+
<script src="../../../../node_modules/angular2/bundles/angular2-polyfills.js"></script>
39+
<script src="../../../../node_modules/angular2/bundles/angular2.dev.js"></script>
40+
<script src="../../../../node_modules/angular2/bundles/router.dev.js"></script>
41+
<script src="../../../../node_modules/angular2/bundles/http.dev.js"></script>
42+
<script src="../../../../scripts/resources/web-animations-js/web-animations.min.js"></script>
4443
<script src="../../../bundles/ionic.system.js"></script>
45-
<script src="../../../js/Rx.js"></script>
44+
<script src="../../../../node_modules/rxjs/bundles/Rx.js"></script>
4645

4746
<style>
4847
.snapshot body {

0 commit comments

Comments
 (0)