114 Commits (18d3ad0ab28d8b59400c5540b7c3f78e3797a25a)

Author SHA1 Message Date
Oskar Segersvärd d2cf4c5e87 Fix #527 9 years ago
Rich-Harris 40d6158147 simple sort 9 years ago
Rich-Harris 3ea4c25dcb ensure namespace blocks are created for chained namespace imports – fixes #430 9 years ago
Brian Donovan 7fba690f52 Ensure `delete` operations at the top level are preserved. 9 years ago
Brian Donovan 27d0f33ac7 Ensure references inside default destructuring values count. 9 years ago
Rich-Harris c33b3d2437 attach statements to all declarations 9 years ago
Rich-Harris 76502ea677 make aggressive mode a bit less aggressive 9 years ago
Rich Harris dc564da15a alternative fix for #270 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 e3e5846dc5 tidy up 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 13d5c3ceec warn on eval 9 years ago
Rich Harris e111c5d8dc add js extensions 9 years ago
Rich Harris fd3ae38c18 make external modules configurable 9 years ago
Rich Harris f925103863 only exclude strings with newlines, and crop out enclosing quotes - fixes #166 9 years ago
Rich Harris 567bd38ace prevent deshadowing logic causing double rewrites 9 years ago
Rich Harris 4fcbba63e0 prevent multiline strings being indented (#164) 9 years ago
Rich-Harris 3e6fe19a39 brute force merge rewrite -> rewrite-master 9 years ago
Oskar Segersvärd 6e839f2d38 Extract namespace lookup optimisation into separate pass 9 years ago
Rich-Harris 769cf5834d linting 9 years ago
Oskar Segersvärd 0c83250fae Polish optimization of namespace lookups 9 years ago
Rich Harris 313b108f41 remove some unused code, add some additional tests 9 years ago
Rich-Harris 8cec1efb93 mark side-effects later, to avoid late declarations breaking stuff 9 years ago
Rich-Harris 25ca424c2a mark side-effecty statements (call expressions and assignments to globals) - fixes #112 9 years ago
Rich-Harris e13a065bb9 handle assignment patterns 9 years ago
Oskar Segersvärd 98cf636e2e Implemented `export * from "internal";` 9 years ago
Oskar Segersvärd da828f31f8 Added missing test for dynamic namespace lookups 9 years ago
Oskar Segersvärd 42723e8a8b Made sure unused, intermediate namepaces are excluded when bundling. Fixes form/namespace-optimization 9 years ago
Oskar Segersvärd 7627b6c810 Fixed modifier statements. All tests (but sourcemap/names) pass. 9 years ago
Oskar Segersvärd be15ec33a6 Simplified Statement.mark by moving reexport special case to analyze 9 years ago
Oskar Segersvärd 4182c6d5e4 Throw if attempting to put a namespace's name in update expressions. 9 years ago
Oskar Segersvärd 2aa575d0f5 Throw if attempting to reassign namespace's name. 9 years ago
Oskar Segersvärd 616a5ce306 Added `mark()` method to identifiers. 9 years ago
Oskar Segersvärd 59fff295e4 Statically resolve internal namespace access 9 years ago
Oskar Segersvärd b3c522cc7e Simpler replacement stack 9 years ago
Oskar Segersvärd 7457ab75f4 Removed suggestedName argument from markExport 9 years ago
Oskar Segersvärd 510a75ae69 Started on default exports. 9 years ago
Oskar Segersvärd 81b9ccfe4c Do a `module.locals.lookup` since `module.imports` is removed. 9 years ago
Oskar Segersvärd 0c79692f26 Simplified some of Module's logic. Started passing tests. :) 9 years ago
Oskar Segersvärd f8da4fdb65 Integrating Scope into Module. Removed ~200 lines. 9 years ago
Rich Harris 2e460eca26 use magic-string@0.7.0, to fix #101 9 years ago
Rich-Harris 0df5d9b177 syncify more code, remove unused promise utils 9 years ago
Rich-Harris 840d1dc21d handle re-exports in entry module 9 years ago
Rich-Harris ff27523d44 load all dependencies, regardless of actual usage 9 years ago
Rich-Harris 481d28412c attach scopes to BlockStatement nodes, not Function nodes. fixes #91 9 years ago