215 Commits (7535c518ff16c1c93f64ef68e9149058186e831e)

Author SHA1 Message Date
Permutator 22f57c4571
Made it possible for plugin loaders to provide sourcemaps 9 years ago
Rich Harris 1d11282d6e allow user-specified acorn options (#564) 9 years ago
Rich Harris e11b1f2d68 preserve sourcemap chain 9 years ago
Rich Harris 0a7a391c04 preserve ast to avoid re-parsing 9 years ago
Rich-Harris 001901a695 undo non-string ID change (#692) 9 years ago
Rich-Harris 200eb13259 update to latest magic-string 9 years ago
Rich-Harris 169ae35413 allow resolved module IDs to be non-strings 9 years ago
Rich-Harris e85626ea02 options.preferConst to use const instead of var when creating statements (#653) 9 years ago
Rich-Harris e45547b58b prevent duplicate exports from single module (#679) 9 years ago
Oskar Segersvärd fbb0b3935b Fix failing test 9 years ago
Rich Harris d0ea2ad2d6 allow rewrites of variable declarator inits – fixes #632 9 years ago
Oskar Segersvärd 5677b3697f Allow tree-shaking to be disabled 9 years ago
Rich-Harris faf18821b3 expand deshadowed shorthand properties (fixes #575) 9 years ago
Brian Donovan ab76b617b4 Prune dead conditional expressions more carefully. 9 years ago
Brian Donovan fa521cbddd Fix edge case for non-exported variable declaration aliases for exported globals. 9 years ago
Rich-Harris ab767b125d warn on empty exports, dont fail (closes #486) 9 years ago
Rich-Harris 366b414151 correctly rewrite exported var declarations (fixes #484) 9 years ago
Oskar Segersvärd 1297998ca7 Add SyntheticGlobalDeclaration 9 years ago
Brian Donovan 1a0011485e Skip dead branches of a conditional expression. 9 years ago
Rich-Harris 32324e01fc prevent double export (#438) 9 years ago
Rich-Harris 94f98d81ec fix `var exports.foo` (#426) 9 years ago
Rich-Harris 995737eb6d find importer of badly-ordered modules in order to provide useful feedback 9 years ago
Rich-Harris 40d6158147 simple sort 9 years ago
Rich-Harris 742cf9255c fix side-effect detection in cyclical function calls (#397) 9 years ago
Oskar Segersvärd bb53cbbf02 Move `extractNames` to its own file 9 years ago
Oskar Segersvärd b5ddcea06d Ensure names are properly exported 9 years ago
Rich-Harris a7bb2e3f41 put files back where they were 9 years ago
Rich-Harris fc0c253101 collapse sourcemaps from bundle transformers 9 years ago
Rich-Harris 76502ea677 make aggressive mode a bit less aggressive 9 years ago
Oskar Segersvärd bc0b6c514a Add error message when reexporting missing identifier 9 years ago
Oskar Segersvärd 262334d70d Check isUsed to prevent potentially infinite recursion 9 years ago
Rich Harris dc564da15a alternative fix for #270 9 years ago
Mike Bostock 8c3f09dd37 Don’t assume re-exported bindings are globals. 9 years ago
Rich-Harris 7b57720d13 simplify consolidateDependencies 9 years ago
Rich-Harris 80ae9fa7a9 remove unnecessary reference.isImmediatelyUsed 9 years ago
Rich-Harris b7dbe46dfe add some comments, rename some things 9 years ago
Rich-Harris 6c876bb110 include reassignments that are ignored on initial pass 9 years ago
Rich-Harris 38374f1f93 tidy up 9 years ago
Rich-Harris baed9a0209 the tests all pass! but the code is a mess 9 years ago
Rich-Harris d3979bd690 better side-effect detection 9 years ago
Rich-Harris e0b690ad0f first (failing) stab at better side-effect detection 9 years ago
Rich-Harris b16921646d exclude dead branches 9 years ago
Rich-Harris e94de0e8f1 treat missing namespace exports as warning, not error 9 years ago
Rich-Harris baa09c05c8 allow multiple export alls in entry module 9 years ago
Rich Harris 95c3af1e10 add more .js extensions 9 years ago
Rich Harris e111c5d8dc add js extensions 9 years ago
Oskar Segersvärd 64479df905 Inverse condition. Re-run the tests after restructuring code. 9 years ago
Oskar Segersvärd 502b5cf940 Disallow 'default' as an identifier name 9 years ago
Oskar Segersvärd 17df91a529 Prevent namespace abuse by freezing them 9 years ago
Rich-Harris 35cabd7621 fix super-niche resolution bug affecting online demo 9 years ago