diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-01-13 12:16:00 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-01-13 12:16:00 +0100 |
commit | c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24 (patch) | |
tree | e5177a26dae755833122c4ef73744c2a7f9b53fc /client/src/polyfills.ts | |
parent | 80deae8d198f6a376b477d780e76966f8fbb72ce (diff) | |
download | PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.tar.gz PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.tar.zst PeerTube-c16ce1de8e8c21ad2136335d3b0b7d230e6d2f24.zip |
Client: add basic aot support
Diffstat (limited to 'client/src/polyfills.ts')
-rw-r--r-- | client/src/polyfills.ts | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts deleted file mode 100644 index 65e211459..000000000 --- a/client/src/polyfills.ts +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | // Polyfills | ||
2 | // (these modules are what are in 'angular2/bundles/angular2-polyfills' so don't use that here) | ||
3 | |||
4 | require('intl'); | ||
5 | require('intl/locale-data/jsonp/en.js'); | ||
6 | import 'ie-shim'; // Internet Explorer | ||
7 | |||
8 | // Prefer CoreJS over the polyfills above | ||
9 | import 'core-js/es6/symbol'; | ||
10 | import 'core-js/es6/object'; | ||
11 | import 'core-js/es6/function'; | ||
12 | import 'core-js/es6/parse-int'; | ||
13 | import 'core-js/es6/parse-float'; | ||
14 | import 'core-js/es6/number'; | ||
15 | import 'core-js/es6/math'; | ||
16 | import 'core-js/es6/string'; | ||
17 | import 'core-js/es6/date'; | ||
18 | import 'core-js/es6/array'; | ||
19 | import 'core-js/es6/regexp'; | ||
20 | import 'core-js/es6/map'; | ||
21 | import 'core-js/es6/set'; | ||
22 | import 'core-js/es6/weak-map'; | ||
23 | import 'core-js/es6/weak-set'; | ||
24 | import 'core-js/es6/typed'; | ||
25 | import 'core-js/es6/reflect'; | ||
26 | // see issue https://github.com/AngularClass/angular2-webpack-starter/issues/709 | ||
27 | // import 'core-js/es6/promise'; | ||
28 | |||
29 | import 'core-js/es7/reflect'; | ||
30 | import 'zone.js/dist/zone'; | ||
31 | |||
32 | // Typescript emit helpers polyfill | ||
33 | import 'ts-helpers'; | ||
34 | |||
35 | if ('production' !== ENV) { | ||
36 | Error.stackTraceLimit = Infinity; | ||
37 | |||
38 | require('zone.js/dist/long-stack-trace-zone'); | ||
39 | } | ||