File tree Expand file tree Collapse file tree 3 files changed +16
-42
lines changed
Expand file tree Collapse file tree 3 files changed +16
-42
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,26 @@ import 'core-js/es6';
22import 'core-js/es7/reflect' ;
33import 'zone.js/dist/zone' ;
44
5+ < % _ if ( filters . ts ) { _ % >
6+ // Typescript emit helpers polyfill
7+ import 'ts-helpers' ;
8+
9+ interface IPolyFillErrorConstructor extends ErrorConstructor {
10+ stackTraceLimit: any ;
11+ } < % } % >
12+
513if(!ENV) {
6- var ENV = 'development' ;
14+ var ENV = 'development' ;
715}
816
917if(ENV === 'production') {
10- // Production
18+ // Production
1119} else {
12- // Development
20+ // Development
1321
22+ < % _ if ( filters . ts ) { _ % >
23+ ( < IPolyFillErrorConstructor > Error).stackTraceLimit = Infinity;< % } else { % >
1424 Error . stackTraceLimit = Infinity ;
15-
16- require ( 'zone.js/dist/long-stack-trace-zone' ) ;
25+ < % } % >
26+ // require('zone.js/dist/long-stack-trace-zone');
1727}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ module.exports = function makeWebpackConfig(options) {
3838 } else {
3939 config . entry = {
4040 app : './client/app/app.<%= scriptExt %>' ,
41- polyfills : './client/polyfills.<%= scriptExt %>' ,
41+ polyfills : './client/app/ polyfills.<%= scriptExt %>' ,
4242 vendor : [
4343 'lodash'
4444 ]
You can’t perform that action at this time.
0 commit comments