RoccoC / webpack-build-notifier

A Webpack plugin that generates OS notifications for build steps using node-notifier.
MIT License
162 stars 24 forks source link

Disable via ENV #77

Open fregante opened 3 years ago

fregante commented 3 years ago

This can be implemented in the webpack config, but I wonder if there can be a shared ENV that disables the notifier without having to add more project-specific configuration and documentation. e.g.

WEBPACK_NOTIFY=false webpack --mode production
RoccoC commented 3 years ago

Hi @fregante , yeah, this is a good idea. Feel free to raise a PR, otherwise I can try and get around to implementing this sometime in the near future.