js-conditional-compile-loader
js-conditional-compile-loader copied to clipboard
A javascript conditional compile loader for webpack. 一个javascript条件编译的webpack loader。
你好,有个问题请教一下,比如页面有20个路由,我设置了默认打包只打15个,另外5个单独打包(单独的没有入口所以无法独立运行),如果我在部署的时候另一个环境需要修改这五个路由里面的某处(全部打包太麻烦,所以修改具体地方,打包那五个路由模块即可),如何将两个打包后的文件组装起来了?因为生成后的哈希值不可控,默认没有那五个路由,打完之后需要手动去修改路由以及那五个模块,尝试了很多方案目前还没有解决
Bumps [ini](https://github.com/npm/ini) from 1.3.5 to 1.3.8. Commits a2c5da8 1.3.8 af5c6bb Do not use Object.create(null) 8b648a1 don't test where our devdeps don't even work c74c8af 1.3.7 024b8b5 update deps, add linting...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 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 Commits 8d4b369 chore(release): 2.8.9 29adfe5 fix: backport...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.3. Changelog Sourced from y18n's changelog. 4.0.3 (2021-04-07) Bug Fixes release: 4.x.x should not enforce Node 10 (#126) (1e21a53) 4.0.1 (2020-11-30) Bug Fixes address prototype...
有没有else
else 的情况怎么解决呢?
先谢谢作者提供的插件,解决了我的一些实际问题。 今天在调试时发现,启用之后,SourceMap定位错误的问题,因为插件具体技术细节不了解,所以请作者判断下,如果有影响,又是否有解决的办法,谢谢!
比如 IF_NOTTRUE_xxxx
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...