aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/polyfills.ts9
-rw-r--r--client/src/vendor.ts9
2 files changed, 1 insertions, 17 deletions
diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts
index 3395eed76..cf7270ac3 100644
--- a/client/src/polyfills.ts
+++ b/client/src/polyfills.ts
@@ -14,15 +14,8 @@ require('zone.js/dist/zone');
14// Typescript emit helpers polyfill 14// Typescript emit helpers polyfill
15import 'ts-helpers'; 15import 'ts-helpers';
16 16
17if ('production' === ENV) { 17if ('production' !== ENV) {
18 // Production
19
20
21} else {
22 // Development
23
24 Error.stackTraceLimit = Infinity; 18 Error.stackTraceLimit = Infinity;
25 19
26 require('zone.js/dist/long-stack-trace-zone'); 20 require('zone.js/dist/long-stack-trace-zone');
27
28} 21}
diff --git a/client/src/vendor.ts b/client/src/vendor.ts
index 0f82c59a4..7a8c8423e 100644
--- a/client/src/vendor.ts
+++ b/client/src/vendor.ts
@@ -17,12 +17,3 @@ import 'rxjs/add/operator/mergeMap';
17 17
18import 'jquery'; 18import 'jquery';
19import 'bootstrap-loader'; 19import 'bootstrap-loader';
20
21if ('production' === ENV) {
22 // Production
23
24
25} else {
26 // Development
27
28}