aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-07-20 11:43:31 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-07-20 11:46:52 +0200
commit66698b833f77806045b36fdeba612acda43dd7f7 (patch)
tree482a7f7ddc47b825358c76a277f75d29e08515a1 /client
parenta64668c024c84f2b0a01357d05092064f17ffd4e (diff)
downloadPeerTube-66698b833f77806045b36fdeba612acda43dd7f7.tar.gz
PeerTube-66698b833f77806045b36fdeba612acda43dd7f7.tar.zst
PeerTube-66698b833f77806045b36fdeba612acda43dd7f7.zip
Client: add webpack notifier
Diffstat (limited to 'client')
-rw-r--r--client/config/webpack.common.js4
-rw-r--r--client/package.json1
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')
8var CopyWebpackPlugin = (CopyWebpackPlugin = require('copy-webpack-plugin'), CopyWebpackPlugin.default || CopyWebpackPlugin) 8var CopyWebpackPlugin = (CopyWebpackPlugin = require('copy-webpack-plugin'), CopyWebpackPlugin.default || CopyWebpackPlugin)
9const HtmlWebpackPlugin = require('html-webpack-plugin') 9const HtmlWebpackPlugin = require('html-webpack-plugin')
10const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin 10const ForkCheckerPlugin = require('awesome-typescript-loader').ForkCheckerPlugin
11const 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 },