nippur72 / ifdef-loader

Webpack loader for JavaScript/TypeScript conditional compilation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!