diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-04-12 22:00:17 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-04-12 22:00:17 +0200 |
commit | ad42bea3a55ca7937f082cc641764de70ce34bd1 (patch) | |
tree | 621302fd9fa39ad5e76c5c0a5e7197464a0ea125 /client/config/webpack.common.js | |
parent | d8e689b864749648d03cf4391fd4a475126f01cd (diff) | |
download | PeerTube-ad42bea3a55ca7937f082cc641764de70ce34bd1.tar.gz PeerTube-ad42bea3a55ca7937f082cc641764de70ce34bd1.tar.zst PeerTube-ad42bea3a55ca7937f082cc641764de70ce34bd1.zip |
Client: update to angular 4
Diffstat (limited to 'client/config/webpack.common.js')
-rw-r--r-- | client/config/webpack.common.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index 08b8a4b09..86cbf84d7 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js | |||
@@ -288,28 +288,6 @@ module.exports = function (options) { | |||
288 | } | 288 | } |
289 | }), | 289 | }), |
290 | 290 | ||
291 | // Fix Angular 2 | ||
292 | new NormalModuleReplacementPlugin( | ||
293 | /facade(\\|\/)async/, | ||
294 | helpers.root('node_modules/@angular/core/src/facade/async.js') | ||
295 | ), | ||
296 | new NormalModuleReplacementPlugin( | ||
297 | /facade(\\|\/)collection/, | ||
298 | helpers.root('node_modules/@angular/core/src/facade/collection.js') | ||
299 | ), | ||
300 | new NormalModuleReplacementPlugin( | ||
301 | /facade(\\|\/)errors/, | ||
302 | helpers.root('node_modules/@angular/core/src/facade/errors.js') | ||
303 | ), | ||
304 | new NormalModuleReplacementPlugin( | ||
305 | /facade(\\|\/)lang/, | ||
306 | helpers.root('node_modules/@angular/core/src/facade/lang.js') | ||
307 | ), | ||
308 | new NormalModuleReplacementPlugin( | ||
309 | /facade(\\|\/)math/, | ||
310 | helpers.root('node_modules/@angular/core/src/facade/math.js') | ||
311 | ), | ||
312 | |||
313 | new ngcWebpack.NgcWebpackPlugin({ | 291 | new ngcWebpack.NgcWebpackPlugin({ |
314 | disabled: !AOT, | 292 | disabled: !AOT, |
315 | tsConfig: helpers.root('tsconfig.webpack.json'), | 293 | tsConfig: helpers.root('tsconfig.webpack.json'), |