rubenspgcavalcante/webpack-chrome-extension-reloader

Less verbose production exclusion.

sparcut opened this issue · 0 comments

As mentioned in Webpack's docs, libraries can rely on NODE_ENV to determine what they do.

It would be great if this plugin could explicitly not compile in production builds or at the very least an option to not do anything when env is production or a passed boolean.

This initially came up because of the very verbose and ugly method of preventing the plugin from being included.