Skip to content

Releases: browserify/common-shakeify

v0.4.5

16 Mar 13:16
76bbf75
Compare
Choose a tag to compare
  • fix global bailout message (3694595)

v0.4.4

21 Oct 12:23
5d496f9
Compare
Choose a tag to compare

Fix resolution of exposed --require modules:

browserify app.js -p common-shakeify -r ./some/other/module.js:xyz

should now work correctly.

v0.4.3

17 Oct 09:27
2e68806
Compare
Choose a tag to compare
  • set ecmaVersion: 9 in acorn options, to support new syntax features like async functions
  • fix deleting arrow function exports
  • fix source path for verbose 'imported library call' warnings

v0.4.2

13 Oct 08:21
b630a9d
Compare
Choose a tag to compare

fix crash when using external modules (2b0b949)

v0.4.1

04 Oct 08:03
52c32b6
Compare
Choose a tag to compare
  • Fix eliminating the first of a chain of AssignmentExpressions (77c58d5)

    This was causing input like
    exports.decode = exports.parse = require('./decode');

    where decode is unused, to produce

    /* common-shake removed: exports.decode = */ void exports.parse = require('./decode');

    but void exports.parse can't be assigned to.

  • Fix common-shakeify not running on rebuilds with watchify (7005ab6)

v0.4.0

01 Oct 12:08
d73f3d6
Compare
Choose a tag to compare

Implement input sourcemaps. (fd5335c)

v0.3.2

24 Sep 18:31
12799c9
Compare
Choose a tag to compare

Fix tree-shaking for deduped modules. (#5)

v0.3.1

24 Sep 11:55
1d23637
Compare
Choose a tag to compare
  • fix removing unused export if it's the first element in a SequenceExpression--common in minified code (f584438)

v0.3.0

23 Sep 12:35
e598847
Compare
Choose a tag to compare
  • use wrap-comment module for safe commenting (7e4d8eb)
  • throw error if used as transform instead of plugin (50d3ee9)

v0.2.0

30 Aug 15:36
3f10b94
Compare
Choose a tag to compare
  • compatible with Node 4 (bec072c)
  • add verbose flag (#2)
  • clarify that you need to run a minifier after this, and add an example input/output (4844591)