diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-07-20 11:43:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-07-20 11:46:52 +0200 |
commit | 66698b833f77806045b36fdeba612acda43dd7f7 (patch) | |
tree | 482a7f7ddc47b825358c76a277f75d29e08515a1 | |
parent | a64668c024c84f2b0a01357d05092064f17ffd4e (diff) | |
download | PeerTube-66698b833f77806045b36fdeba612acda43dd7f7.tar.gz PeerTube-66698b833f77806045b36fdeba612acda43dd7f7.tar.zst PeerTube-66698b833f77806045b36fdeba612acda43dd7f7.zip |
Client: add webpack notifier
-rw-r--r-- | client/config/webpack.common.js | 4 | ||||
-rw-r--r-- | client/package.json | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/client/config/webpack.common.js b/client/config/webpack.common.js index dec468736..2ff3a1506 100644 --- a/client/config/webpack.common.js +++ b/client/config/webpack.common.js | |||
@@ -8,6 +8,7 @@ const helpers = require('./helpers') | |||
8 | var CopyWebpackPlugin = (CopyWebpackPlugin = require('copy-webpack-plugin'), CopyWebpackPlugin.default || CopyWebpackPlugin) | 8 | var CopyWebpackPlugin = (CopyWebpackPlugin = require('copy-webpack-plugin'), CopyWebpackPlugin.default || CopyWebpackPlugin) |
9 | const HtmlWebpackPlugin = require('html-webpack-plugin') | 9 | const HtmlWebpackPlugin = require('html-webpack-plugin') |
10 | const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin | 10 | const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin |
11 | const WebpackNotifierPlugin = require('webpack-notifier') | ||
11 | 12 | ||
12 | /* | 13 | /* |
13 | * Webpack Constants | 14 | * Webpack Constants |
@@ -244,8 +245,9 @@ module.exports = { | |||
244 | new HtmlWebpackPlugin({ | 245 | new HtmlWebpackPlugin({ |
245 | template: 'src/index.html', | 246 | template: 'src/index.html', |
246 | chunksSortMode: 'dependency' | 247 | chunksSortMode: 'dependency' |
247 | }) | 248 | }), |
248 | 249 | ||
250 | new WebpackNotifierPlugin({ alwaysNotify: true }) | ||
249 | ], | 251 | ], |
250 | 252 | ||
251 | /* | 253 | /* |
diff --git a/client/package.json b/client/package.json index 2dfc0c659..b01e768b3 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -62,6 +62,7 @@ | |||
62 | "webpack": "^1.13.1", | 62 | "webpack": "^1.13.1", |
63 | "webpack-md5-hash": "0.0.5", | 63 | "webpack-md5-hash": "0.0.5", |
64 | "webpack-merge": "^0.13.0", | 64 | "webpack-merge": "^0.13.0", |
65 | "webpack-notifier": "^1.3.0", | ||
65 | "webtorrent": "^0.93.2", | 66 | "webtorrent": "^0.93.2", |
66 | "zone.js": "0.6.12" | 67 | "zone.js": "0.6.12" |
67 | }, | 68 | }, |