Use webpackDefinePlugin instead of options
gkielyellation opened this issue · comments
Found the repo here:
https://stackoverflow.com/questions/28572380/conditional-build-based-on-environment-using-webpack
Didn't realize options was where variables were defined, thought it automatically picked it up from definePlugin.
Thanks!