aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/polyfills.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-03 22:47:55 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-03 22:47:55 +0200
commitb20b5fed405f0ab24d24709d7db65625a79f3b37 (patch)
tree70d4b81dc0865ea2b56e278fed77146e5a89934b /client/src/polyfills.ts
parentfc76359be11956f8514fc0dda1f66bb1c3397d26 (diff)
downloadPeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.tar.gz
PeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.tar.zst
PeerTube-b20b5fed405f0ab24d24709d7db65625a79f3b37.zip
Add production webpack, big thanks to @AngularClass
Diffstat (limited to 'client/src/polyfills.ts')
-rw-r--r--client/src/polyfills.ts9
1 files changed, 1 insertions, 8 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}