96 Commits (a00509f3df301446fa8c5a85f57f02f855ad666e)

Author SHA1 Message Date
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 10 years ago
Rich-Harris 25ca424c2a mark side-effecty statements (call expressions and assignments to globals) - fixes #112 10 years ago
Rich-Harris e13a065bb9 handle assignment patterns 10 years ago
Oskar Segersvärd 98cf636e2e Implemented `export * from "internal";` 10 years ago
Oskar Segersvärd da828f31f8 Added missing test for dynamic namespace lookups 10 years ago
Oskar Segersvärd 42723e8a8b Made sure unused, intermediate namepaces are excluded when bundling. Fixes form/namespace-optimization 10 years ago
Oskar Segersvärd 7627b6c810 Fixed modifier statements. All tests (but sourcemap/names) pass. 10 years ago
Oskar Segersvärd be15ec33a6 Simplified Statement.mark by moving reexport special case to analyze 10 years ago
Oskar Segersvärd 4182c6d5e4 Throw if attempting to put a namespace's name in update expressions. 10 years ago
Oskar Segersvärd 2aa575d0f5 Throw if attempting to reassign namespace's name. 10 years ago
Oskar Segersvärd 616a5ce306 Added `mark()` method to identifiers. 10 years ago
Oskar Segersvärd 59fff295e4 Statically resolve internal namespace access 10 years ago
Oskar Segersvärd b3c522cc7e Simpler replacement stack 10 years ago
Oskar Segersvärd 7457ab75f4 Removed suggestedName argument from markExport 10 years ago
Oskar Segersvärd 510a75ae69 Started on default exports. 10 years ago
Oskar Segersvärd 81b9ccfe4c Do a `module.locals.lookup` since `module.imports` is removed. 10 years ago
Oskar Segersvärd 0c79692f26 Simplified some of Module's logic. Started passing tests. :) 10 years ago
Oskar Segersvärd f8da4fdb65 Integrating Scope into Module. Removed ~200 lines. 10 years ago
Rich Harris 2e460eca26 use magic-string@0.7.0, to fix #101 10 years ago
Rich-Harris 0df5d9b177 syncify more code, remove unused promise utils 10 years ago
Rich-Harris 840d1dc21d handle re-exports in entry module 10 years ago
Rich-Harris ff27523d44 load all dependencies, regardless of actual usage 10 years ago
Rich-Harris 481d28412c attach scopes to BlockStatement nodes, not Function nodes. fixes #91 10 years ago
Rich Harris 71d9d4fa0e only rewrite exported vars as exports.foo if necessary 10 years ago
Rich Harris f1d35aad7e use arrays, not objects, to track variable declarations 10 years ago
Rich Harris 975528d034 handle multiple exports of a single binding 10 years ago
Rich-Harris fc5b89dacd fix global detection 10 years ago
Rich Harris 419a37f145 fix more tests, messily 10 years ago
Rich Harris e53bfa6180 fix a few tests 10 years ago
Rich Harris ae084c0424 first stab at handling reexports separately 10 years ago
Rich-Harris 962431075a simplify deconflicting logic 10 years ago
Rich-Harris f14ee72ee1 add statement.toString method for easier debugging 10 years ago
Rich-Harris 0b5dcbced2 make _scope configurable - avoids some test headaches 10 years ago
Rich-Harris e56d17035d fix deshadowing false positive 10 years ago
Rich-Harris 405bc00a56 more tidying up 10 years ago
Rich-Harris 7c1d2bb8e6 remove unused code 10 years ago
Rich-Harris 9c22bc12c6 only insert export initialisers if there are any 10 years ago
Rich-Harris 9435773b1c start moving render logic into modules 10 years ago
Rich-Harris dbbfc67a0b expand shorthand properties (#61) 10 years ago