Closed noscripter closed 5 years ago
@noscripter NODE_ENV is replaced statically with bundler for browsers. It should not be extracted.
@noscripter NODE_ENV is replaced statically with bundler for browsers. It should not be extracted.
Thanks for that info, can you provide more detail for me to dive into?
This convention is shared across many packages (especially react ones) https://github.com/rollup/rollup-plugin-replace https://webpack.js.org/guides/production/#specify-the-mode
This convention is shared across many packages (especially react ones) https://github.com/rollup/rollup-plugin-replace https://webpack.js.org/guides/production/#specify-the-mode
Coool, thanks.
[x] extract process.env.NODE_ENV