Add webpack build notifications in dev
This commit is contained in:
parent
ca2c678301
commit
d7f84caaa4
2 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,7 @@
|
|||
"node-sass": "^3.13.0",
|
||||
"webpack": "^1.13.3",
|
||||
"webpack-dev-server": "^2.4.4",
|
||||
"webpack-notifier": "^1.5.0",
|
||||
"webpack-target-electron-renderer": "^0.4.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
const path = require('path');
|
||||
const WebpackNotifierPlugin = require('webpack-notifier')
|
||||
|
||||
const appPath = path.resolve(__dirname, 'js');
|
||||
|
||||
const PATHS = {
|
||||
|
@ -21,6 +23,9 @@ module.exports = {
|
|||
root: appPath,
|
||||
extensions: ['', '.js', '.jsx', '.css'],
|
||||
},
|
||||
plugins: [
|
||||
new WebpackNotifierPlugin(),
|
||||
],
|
||||
module: {
|
||||
preLoaders: [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue