Skip to content

Releases: goto-bus-stop/browser-pack-flat

v3.5.0

01 Jul 13:05
Compare
Choose a tag to compare

v3.4.2

04 Jun 09:02
cd2f533
Compare
Choose a tag to compare
  • Fix lazy exposed modules. (#41)

v3.4.1

24 May 11:55
08b77ec
Compare
Choose a tag to compare
  • Inline result of typeof require, which is used by some UMD headers. (#38)

v3.4.0

05 May 15:48
ba43bf0
Compare
Choose a tag to compare
  • Sort dependencies by source order location, now execution order should be much more consistent between Node.js and browser-pack-flat
  • Prevent inlining conditional and lazy require() calls:
    // this no longer evaluates 'a' if condition is false
    if (condition) require('a')
    
    // this now evaluates 'b' first, then console.log(), and then 'c' once lazy() is called,
    // instead of evaluating 'b' and 'c' before entering the module
    function lazy () { require('c') }
    require('b')
    console.log()
    lazy()
    
    // NOTE this *will* still cause out-of-order evaluation! 'b' will be evaluated before
    // console.log() is called.
    console.log()
    require('b')

v3.3.0

24 Jan 12:35
87c3db8
Compare
Choose a tag to compare
  • Start changelog.
  • Add iife: false option to remove the outer (function(){}) wrapper if you don't need it (@brechtcs)
  • Add sourceType option to not crash on import statements. (@brechtcs)
    Don't use this unless you are certain that you have a good use case for it.

v3.2.0

08 Sep 16:39
77cafd3
Compare
Choose a tag to compare

Improve variable declarator removal. This reduces the number of __dummy* variables in the output.

v3.1.0

23 May 11:29
eab530c
Compare
Choose a tag to compare

Expose plugin via main entry point. You can now do browserify -p browser-pack-flat instead of browserify -p browser-pack-flat/plugin.

v3.0.9

28 Apr 11:04
35c4331
Compare
Choose a tag to compare

Fix module variable collisions with global variables used in later modules (#27)

See browserify/tinyify#10

v3.0.8

06 Feb 08:57
b3b8524
Compare
Choose a tag to compare
  • Fix cyclical dependencies in entry modules d483818
  • Fix module.parent value in cyclical dependencies d483818

v3.0.7

26 Jan 09:47
37dcf5d
Compare
Choose a tag to compare
  • modularise estree-is-member-expression (d81c15c)
  • use symbols for nonstandard row properties (3702e81)
  • ignore the example's node_modules folder, saving some MBs when installing browser-pack-flat (572969d)