diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-02-10 10:28:11 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-02-10 10:28:11 +0100 |
commit | a17bc2c34e79c144b7e71ff903c16c2e68371b48 (patch) | |
tree | ba327a1b8d96c15bfe6b56b9114edea62f4ef1d5 /client/config/webpack.dev.js | |
parent | 01a07456e476237b7f78fddb3ea815537fc35af0 (diff) | |
download | PeerTube-a17bc2c34e79c144b7e71ff903c16c2e68371b48.tar.gz PeerTube-a17bc2c34e79c144b7e71ff903c16c2e68371b48.tar.zst PeerTube-a17bc2c34e79c144b7e71ff903c16c2e68371b48.zip |
Client: use tslib instead of ts-helpers
Diffstat (limited to 'client/config/webpack.dev.js')
-rw-r--r-- | client/config/webpack.dev.js | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/client/config/webpack.dev.js b/client/config/webpack.dev.js index affb20f19..1e975b261 100644 --- a/client/config/webpack.dev.js +++ b/client/config/webpack.dev.js | |||
@@ -88,6 +88,24 @@ module.exports = function (env) { | |||
88 | webtorrent: 'WebTorrent' | 88 | webtorrent: 'WebTorrent' |
89 | }, | 89 | }, |
90 | 90 | ||
91 | module: { | ||
92 | |||
93 | rules: [ | ||
94 | { | ||
95 | test: /\.ts$/, | ||
96 | use: [ | ||
97 | { | ||
98 | loader: 'tslint-loader', | ||
99 | options: { | ||
100 | configFile: 'tslint.json' | ||
101 | } | ||
102 | } | ||
103 | ], | ||
104 | exclude: [/\.(spec|e2e)\.ts$/] | ||
105 | } | ||
106 | ] | ||
107 | }, | ||
108 | |||
91 | plugins: [ | 109 | plugins: [ |
92 | 110 | ||
93 | /** | 111 | /** |
@@ -121,8 +139,7 @@ module.exports = function (env) { | |||
121 | { | 139 | { |
122 | name: 'zone.js', | 140 | name: 'zone.js', |
123 | path: 'zone.js/dist/long-stack-trace-zone.js' | 141 | path: 'zone.js/dist/long-stack-trace-zone.js' |
124 | }, | 142 | } |
125 | 'ts-helpers' | ||
126 | ], | 143 | ], |
127 | vendor: [ | 144 | vendor: [ |
128 | '@angular/platform-browser', | 145 | '@angular/platform-browser', |