Skip to content

Commit c5922a2

Browse files
committed
Revert "chore(): remove unnecessary scripts from package"
This reverts commit 2c08ddc.
1 parent d23df42 commit c5922a2

File tree

2 files changed

+20
-10
lines changed

2 files changed

+20
-10
lines changed

gulpfile.js

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

286286
/**
287-
* Creates Ionic themes for testing.
287+
* I'm not quite sure what this is for, people tell me we use it internally to
288+
* test themes.
288289
*/
289290
gulp.task('sass.themes', function() {
290291
var sass = require('gulp-sass');
@@ -335,7 +336,15 @@ gulp.task('copy.scss', function() {
335336
gulp.task('copy.libs', function() {
336337
var merge = require('merge2');
337338
var webAnimations = gulp.src([
338-
'scripts/resources/web-animations-js/web-animations.min.js'
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'
339348
])
340349
.pipe(gulp.dest('dist/js'));
341350

scripts/e2e/e2e.template.html

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

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>
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>
4344
<script src="../../../bundles/ionic.system.js"></script>
44-
<script src="../../../../node_modules/rxjs/bundles/Rx.js"></script>
45+
<script src="../../../js/Rx.js"></script>
4546

4647
<style>
4748
.snapshot body {

0 commit comments

Comments
 (0)