wxa
wxa copied to clipboard
🖖 轻量级的小程序开发框架。可以渐进接入的小程序开发框架,专注于小程序原生开发,提供更好的工程化、代码复用能力,提高开发效率并改善开发体验。
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...
Bumps [terser](https://github.com/terser/terser) from 3.10.13 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Bumps [terser](https://github.com/terser/terser) from 4.6.6 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) v4.8.0 Support for numeric separators (million...
Bumps [thenify](https://github.com/thenables/thenify) from 3.3.0 to 3.3.1. Changelog Sourced from thenify's changelog. 3.3.1 / 2020-06-18 fixes [0d94a24] - fix: remove eval (#30) (Yiyu He ) Commits 1d054b4 Release 3.3.1 0d94a24 fix:...
Bumps [thenify](https://github.com/thenables/thenify) from 3.3.0 to 3.3.1. Changelog Sourced from thenify's changelog. 3.3.1 / 2020-06-18 fixes [0d94a24] - fix: remove eval (#30) (Yiyu He ) Commits 1d054b4 Release 3.3.1 0d94a24 fix:...
Bumps [eventsource](https://github.com/EventSource/eventsource) from 1.0.7 to 1.1.1. Changelog Sourced from eventsource's changelog. 1.1.1 Do not include authorization and cookie headers on redirect to different origin (#273 Espen Hovlandsdal) 1.1.0 Improve performance...
ES6 模块 tree shake 的实现,同时这里也尝试进行了 commonjs 的 tree shake。一个完整的 tree shake 过程分为以下两步: 1. 跨文件分析导出模块是否被导入(已经实现)。 2. 分析未被导入的导出模块是否在本文件内部使用(简单实现),但可以借助 terser 工具处理。 (类似于webpack 的 usedExports)
主包依赖分离,可将没有被主包的引用的依赖打包进分包: 1. optimization.splitDeps.enable,是否启用依赖分离,默认为false 2. optimization.splitDeps.enableLocalDep,是否启用本地依赖分离,默认为false,即分离npm依赖 3. optimization.splitDeps.filter.maxDeps,当依赖所在分包数量小于等于maxDeps时,依赖被打包进分包 4. optimization.splitDeps.filter.minDeps,当依赖所在分包数量大于等于minDeps时,依赖被打包进分包 5. optimization.splitDeps.filter.maxDepSize,当依赖大小小于等于maxDepSize时,依赖被打包进分包 6. optimization.splitDeps.filter.minDepSize,当依赖大小大于等于minDepSize时,依赖被打包进分包 当filter内某个属性未被指定时,即不启用该项过滤。filter可以为一个数组,每个数组元素可以包含上面filter描述的选项,会依次对将每个数组元素作为过滤条件。