UNPKG

common-shakeify

Version:

browserify tree shaking plugin using @indutny common-shake

46 lines (30 loc) 2.58 kB
# common-shakeify change log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ## 1.1.2 * Fix certain cases of exports in sequential expressions resulting in invalid syntax. ([@tornqvist](https://github.com/tornqvist) in [#43](https://github.com/browserify/common-shakeify/pull/43)) ## 1.1.1 * Fixes infinite loop in new side-effect feature. ([#40](https://github.com/browserify/common-shakeify/pull/40)) ## 1.1.0 * Entirely remove side-effect-free unused modules when they declare `sideEffects: false` in `package.json`. ([#31](https://github.com/browserify/common-shakeify/pull/31)) ## 1.0.0 * Expose `opts.ecmaVersion` with a default value of 10. Previously the internal value was 9. ([#39](https://github.com/browserify/common-shakeify/pull/39)) ## 0.6.2 * Fix usage with browserify's `fullPaths: true` option. ([#33](https://github.com/browserify/common-shakeify/pull/33)) If you use `fullPaths: true`, the bugfix from 0.6.1 does _not_ apply. If you do not use `fullPaths: true`, the bugfix from 0.6.1 _does_ apply. ## 0.6.1 * Fix bugs when using `-r` or `b.require('a', { expose: 'b' })`. ([@laduke](https://github.com/laduke) and [@goto-bus-stop](https://github.com/goto-bus-stop) in [#30](https://github.com/browserify/common-shakeify/pull/30)) ## 0.6.0 * Keep unused properties if `onExportDelete` returns false. ([@RedHatter](https://github.com/RedHatter) in [#26](https://github.com/browserify/common-shakeify/pull/26)) ## 0.5.4 * Fix export bug with anonymous functions in assignment chains. ([@dy](https://github.com/dy) in [#25](https://github.com/browserify/common-shakeify/pull/25)) * Fix export bug with anonymous classes in assignment chains. ([#27](https://github.com/browserify/common-shakeify/pull/27)) * Fix scope bug with function/class expressions in assignment chains. ([#27](https://github.com/browserify/common-shakeify/pull/27)) ## 0.5.3 * Fix export bug with assignment chains. ([@dy](https://github.com/dy) in [#23](https://github.com/browserify/common-shakeify/pull/23)) ## 0.5.2 * Fix removing exports that are parenthesized expressions. ([@josephg](https://github.com/josephg) in [#20](https://github.com/browserify/common-shakeify/pull/20)) ## 0.5.1 * Fix file names in source maps. ([@pirxpilot](https://github.com/pirxpilot) in [#16](https://github.com/browserify/common-shakeify/pull/16)) ## 0.5.0 * Switch to `@goto-bus-stop/common-shake`, which supports dependent use tracking. ([#14](https://github.com/browserify/common-shakeify/pull/14))