rollup v2.24.0 Release Notes
-
2020-08-13
๐ Features
- ๐ Allow defining interop per dependency via a function (#3710)
- ๐ Support interop "auto" as a more compatible version of "true" (#3710)
- ๐ Support interop "default" and "esModule" to avoid unnecessary interop helpers (#3710)
- ๐ Support interop "defaultOnly" for simplified helpers and Node ESM interop compatible output (#3710)
- Respect interop option for external dynamic imports (#3710)
- ๐ Support live-bindings for external default imports in non-ES formats unless "externalLiveBindings" is "false" (#3710)
- 0๏ธโฃ Use shared default interop helpers for AMD, UMD and IIFE formats (#3710)
- Avoid unnecessarily deconflicted module variables in non-ES formats (#3710)
- Freeze generated interop namespace objects (#3710)
- Always mark interop helpers as pure (#3710)
- 0๏ธโฃ Avoid default export interop if there is already an interop namespace object (#3710)
- Sort all
require
statements to the top in CommonJS output for easier back-transpilation to ES modules by other tools (#3710)
๐ Bug Fixes
- ๐ Handle accessing
super
in static class fields (#3720) - Deconflict the names of helper variables introduced for interop (#3710)
- Generate proper namespace objects for static namespace imports in non-ES formats (#3710)
- Do not add unused interop helpers when using the renderDynamicImport hook (#3710)
Pull Requests