All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
- Fix certain cases of exports in sequential expressions resulting in invalid syntax. (@tornqvist in #43)
- Fixes infinite loop in new side-effect feature. (#40)
- Entirely remove side-effect-free unused modules when they declare
sideEffects: falseinpackage.json. (#31)
- Expose
opts.ecmaVersionwith a default value of 10. Previously the internal value was 9. (#39)
- Fix usage with browserify's
fullPaths: trueoption. (#33)
If you use fullPaths: true, the bugfix from 0.6.1 does not apply. If you do not use fullPaths: true, the bugfix from 0.6.1 does apply.
- Fix bugs when using
-rorb.require('a', { expose: 'b' }). (@laduke and @goto-bus-stop in #30)
- Keep unused properties if
onExportDeletereturns false. (@RedHatter in #26)
- Fix export bug with anonymous functions in assignment chains. (@dy in #25)
- Fix export bug with anonymous classes in assignment chains. (#27)
- Fix scope bug with function/class expressions in assignment chains. (#27)
- Fix file names in source maps. (@pirxpilot in #16)
- Switch to
@goto-bus-stop/common-shake, which supports dependent use tracking. (#14)