feat(decorators): adds decorators to be used by TS and Babel transpiled apps.
This commit is contained in:
@ -647,10 +647,13 @@ gulp.task('bundle.js.min.deps', ['bundle.js.min'], function() {
|
||||
.pipe(gulp.dest('dist/bundle'));
|
||||
});
|
||||
|
||||
var JS_DEV_DEPS = ['node_modules/zone.js/zone.js', 'node_modules/zone.js/long-stack-trace-zone.js'];
|
||||
var JS_DEV_DEPS = ['node_modules/zone.js/zone.js',
|
||||
'node_modules/zone.js/long-stack-trace-zone.js',
|
||||
'node_modules/reflect-metadata/Reflect.js'];
|
||||
|
||||
gulp.task('bundle.js.dev.deps', ['bundle.js.dev'], function() {
|
||||
return bundler.modify(JS_DEV_DEPS.concat(['dist/build/angular2.dev.js']), 'angular2.dev.js')
|
||||
.pipe(insert.append('\nSystem.config({"paths":{"*":"*.js","angular2/*":"angular2/*"}});\n'))
|
||||
.pipe(insert.append('\nzone = zone.fork(Zone.longStackTraceZone);\n'))
|
||||
.pipe(gulp.dest('dist/bundle'));
|
||||
});
|
||||
|
Reference in New Issue
Block a user