196 Commits (7bed21c3da1da7287c6445efedf3dafa100dcdb3)

Author SHA1 Message Date
Rich-Harris 056110dd09 dedupe external imports in ES6 bundle (fixes #77) 9 years ago
Rich-Harris 962431075a simplify deconflicting logic 9 years ago
Rich-Harris a49f966703 remove temporary _parse workaround 9 years ago
Rich-Harris 1f670d5882 tidying up 9 years ago
Rich-Harris 8cb61a9a2f prevent `var undefined = sideEffectyDefault(foo)` 9 years ago
Rich-Harris a77d83d0b6 dont trace declarations across default boundaries 9 years ago
Rich-Harris 1d6737157e mark default export declarations as isUsed, as well as named ones 9 years ago
Rich-Harris 611315a812 dont rewrite exported vars unless in named exports mode 9 years ago
Rich-Harris 4164f6265a use bundle.trace() when building export block 9 years ago
Rich-Harris ed23293b6d fix module.defaultName() 9 years ago
Rich-Harris 75f1bf155e make trace() a method of Bundle, partially fix exported vars 9 years ago
Rich-Harris b419453599 handle `export { default } from ...` case 9 years ago
Rich-Harris 4420d508c6 trying something new... 9 years ago
Rich-Harris f14ee72ee1 add statement.toString method for easier debugging 9 years ago
Rich-Harris e7bbd516d1 combine declaredName and identifier 9 years ago
Rich-Harris 0cc1221b7a remove obsolete special case logic 9 years ago
Rich-Harris 01b69eadc6 handle external imports in ES6 bundles 9 years ago
Rich-Harris df66011c7c handle export * (all function tests now passing) 9 years ago
Rich-Harris ae93c679cb handle tricky `export { default as foo } from ...` case 9 years ago
Rich-Harris da00ac8a3c more fixes 9 years ago
Rich-Harris e0c554a801 more fixes 9 years ago
Rich-Harris 35661e1f39 fixes 9 years ago
Rich-Harris e36bf8dbd5 start moving naming logic into bundle, rather than modules 9 years ago
Rich-Harris 10bc42daeb dont call module.getCanonicalName before module.rename (has undesired side effects) 9 years ago
Rich-Harris fc6a55cddb statement.module -> this, where appropriate 9 years ago
Rich-Harris 855ee29ca3 fix names in export from declarations 9 years ago
Rich Harris 8afcd92ca7 ignore excluded statements for purposes of deconflicting 9 years ago
Rich Harris 5cbd7afb1a rig up eslint, do some linting 9 years ago
Rich-Harris 09eaef6143 rename variables named `exports` 9 years ago
Rich-Harris c2ebdcbe4c dont rewrite var foo as var exports.foo 9 years ago
Rich-Harris 0b5dcbced2 make _scope configurable - avoids some test headaches 9 years ago
Rich-Harris 418ce08a44 rename internal namespace exports as appropriate 9 years ago
Rich-Harris 39057cddf0 use provided AST instead of parsing again 9 years ago
Rich-Harris f35d453c72 deconflict external imports 9 years ago
Rich-Harris 9164f80487 remove pre-existing sourcemap comments 9 years ago
Rich-Harris 41cd743ae6 support banner/footer option 9 years ago
Rich-Harris e56d17035d fix deshadowing false positive 9 years ago
Rich-Harris a6f7d96065 dont attempt to mark statements in external modules 9 years ago
Rich-Harris 1fea163ccc make use strict optional 9 years ago
Rich-Harris 3260134d1f fix amd module IDs 9 years ago
Rich-Harris 32659d12e0 prevent module importing itself 9 years ago
Rich-Harris 7030e54785 refactor and robustify export blocks 9 years ago
Rich-Harris 62241d523d include imports/exports in bundle object 9 years ago
Rich-Harris 688d66698a more robust interop 9 years ago
Rich-Harris 405bc00a56 more tidying up 9 years ago
Rich-Harris 7c1d2bb8e6 remove unused code 9 years ago
Rich-Harris 24d061450a fix variable splitting 9 years ago
Rich-Harris 9c22bc12c6 only insert export initialisers if there are any 9 years ago
Rich-Harris cbae9fc8de remove more unused code 9 years ago
Rich-Harris 301f432b6f remove unused code 9 years ago