roman01la / anybar-webpack

Webpack build status plugin for menubar status indicator applications
MIT License
62 stars 7 forks source link

Webpack doesn't quit if anybar-webpack plugin enabled. #5

Open limpbrains opened 9 years ago

limpbrains commented 9 years ago

If i'm runnind build for production, webpack doesn't quit after the build. Try https://github.com/webpack/react-starter and npm run build

roman01la commented 9 years ago

Temporary workaround:

var plugins = [some, plugins];

if (process.env.NODE_ENV === 'development') {
  plugins.push(new AnyBarWebpackPlugin());
}

// exported config object
plugins: plugins