ifdef-loader
ifdef-loader copied to clipboard
Webpack loader for JavaScript/TypeScript conditional compilation.
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Thank you for useful tool, it is what i missed about in js, after C++. : ) Specially for use with ifdef-loader, I made vscode extension, which can highligth code...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.5 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...
hi @nippur72 i installed ifdef-loader 2.3.0 to understand this package, but i see that its not really removing code in main.js , my changes below. logs during build clearly sharing...
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...
Bumps [y18n](https://github.com/yargs/y18n) from 3.2.1 to 3.2.2. Commits See full diff in compare view Maintainer changes This version was pushed to npm by oss-bot, a new releaser for y18n since your...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
I think it'd make sense to define everything in `process.env` by default, so instead of ````js /// #if env == 'PRODUCTION' /// #if PRODUCTION ```` one can do a more...
Hi! Thank you very much for the loader, it is very useful. It would be very nice to add one minor feature to it - some option in config to...
I am relying on Webpack to replace a var used with the #ifdef statements so don't need to actually pass values through the options. Kind of an edge case, but...