annotate src/polyfills.ts @ 60:7b9d616695d3 webpack

new setup using webpack (and Angular 4).
author casties
date Wed, 29 Mar 2017 20:58:57 +0200
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
60
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
1 import 'core-js/es6';
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
2 import 'core-js/es7/reflect';
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
3 require('zone.js/dist/zone');
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
4
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
5 if (process.env.ENV === 'production') {
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
6 // Production
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
7 } else {
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
8 // Development and test
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
9 Error['stackTraceLimit'] = Infinity;
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
10 require('zone.js/dist/long-stack-trace-zone');
7b9d616695d3 new setup using webpack (and Angular 4).
casties
parents:
diff changeset
11 }