Skip to content
This repository has been archived by the owner on Jan 18, 2019. It is now read-only.

Commit

Permalink
fix(#11): workaround for windows notification error
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Oct 26, 2016
1 parent b4cef38 commit c0cc7db
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions etc/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,7 @@ var config = {
'NODE_ENV': JSON.stringify(ENV),
'HMR': false
}
}),
/**
* Plugin: NotifierPlugin
* See: https://github.com/Turbo87/webpack-notifier#usage
*/
new WebpackNotifierPlugin()
})
],

/*
Expand All @@ -299,6 +294,16 @@ var config = {

};

if( os.platform() !== 'win32') {
// FIXME, see https://github.com/holisticon/angular-common/issues/11
config.plugins.push(
/**
* Plugin: NotifierPlugin
* See: https://github.com/Turbo87/webpack-notifier#usage
*/
new WebpackNotifierPlugin());
}

/*
* Plugin: HtmlWebpackPlugin
* Description: Simplifies creation of HTML files to serve your webpack bundles.
Expand Down

0 comments on commit c0cc7db

Please sign in to comment.