Fix mixed deps for prod and dev build

This commit is contained in:
Roman Hotsiy 2016-05-20 19:27:47 +03:00
parent 2252596063
commit c40de56a71

View File

@ -43,16 +43,16 @@ gulp.task('inlineTemplates', ['sass'], function() {
});
var JS_DEPS = argv.prod ? [
'lib/utils/browser-update.js',
'node_modules/zone.js/dist/zone.min.js',
'node_modules/reflect-metadata/Reflect.js',
'node_modules/babel-polyfill/dist/polyfill.min.js'
]: [
'lib/utils/browser-update.js',
'node_modules/zone.js/dist/zone.js',
'node_modules/zone.js/dist/long-stack-trace-zone.js',
'node_modules/reflect-metadata/Reflect.js',
'node_modules/babel-polyfill/dist/polyfill.js'
] : [
'lib/utils/browser-update.js',
'node_modules/zone.js/dist/zone.min.js',
'node_modules/reflect-metadata/Reflect.js',
'node_modules/babel-polyfill/dist/polyfill.min.js'
];
var outputFileName = paths.redocBuilt + (argv.prod ? '.min.js' : '.js');