All Versions
625
Latest Version
Avg Release Cycle
5 days
Latest Release
-

Changelog History
Page 17

  • v2.24.0 Changes

    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

    • #3710: Rework interop handling (@lukastaegert)
    • #3720: Handle super in static class fields (@lukastaegert)
  • v2.23.1 Changes

    2020-08-07

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix an issue where dynamically importing an entry point could return a malformed namespace for CJS and AMD formats (#3709)

    Pull Requests

    • 0๏ธโƒฃ #3709: Properly construct namespace when dynamically importing chunks with facades in default export mode (@lukastaegert)
  • v2.23.0 Changes

    2020-07-23

    ๐Ÿ”‹ Features

    • ๐Ÿ– Handle environments with only globalThis in UMD output (#3691)

    Pull Requests

    • #3691: Check for globalThis in UMD wrapper (@lukastaegert)
  • v2.22.2 Changes

    2020-07-21

    ๐Ÿ› Bug Fixes

    • Always generate correct exports when an implicit entry is reexporting from another module (#3688)

    Pull Requests

    • #3688: Include all relevant modules to generate reexports for implicit dependencies (@lukastaegert)
  • v2.22.1 Changes

    2020-07-18

    ๐Ÿ› Bug Fixes

    • โœ‚ Remove unused arguments when calling a conditional expression (#3680)

    Pull Requests

    • #3680: Allow tree-shaking of arguments of functions that are returned by conditional expressions (@lukastaegert)
  • v2.22.0 Changes

    2020-07-18

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ Allow resolving synthetic named exports via an arbitrary export name (#3657)
    • โš  Display a warning when the user does not explicitly select an export mode and would generate a chunk with default export mode when targeting CommonJS (#3657)

    Pull Requests

    • 0๏ธโƒฃ #3657: Add basic support for using a non-default export for syntheticNamedExports (@lukastaegert)
    • 0๏ธโƒฃ #3659: Warn when implicitly using default export mode (@lukastaegert)
  • v2.21.0 Changes

    2020-07-07

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ Allow plugins to disable tree-shaking for individual modules to ensure even empty modules are associated with chunks (#3663)

    Pull Requests

    • #3663: Disable treeshaking per module (@lukastaegert)
  • v2.20.0 Changes

    2020-07-06

    ๐Ÿ”‹ Features

    • ๐Ÿ‘Œ Support using a function to generate different chunk and asset naming patterns per chunk or asset (#3658)
    • โž• Add referencedFiles property to the chunk info in generateBundle to list referenced assets (#3661)

    Pull Requests

    • #3658: Add ability to use a function that returns a pattern string in all places where you could use a pattern string before (@frank-dspeed)
    • #3661: Add referenced files to bundle (@lukastaegert)
  • v2.19.0 Changes

    2020-07-05

    ๐Ÿ”‹ Features

    • ๐Ÿ‘ Allow plugins to return a Promise in the options hook (#3660)

    Pull Requests

    • #3660: Make options hooks async (@TomerAberbach)
  • v2.18.2 Changes

    2020-07-02

    ๐Ÿ› Bug Fixes

    • ๐Ÿšš Do not remove spread element args when the corresponding positional parameter is unused (#3652)

    Pull Requests

    • #3652: Do not tree-shake arguments that contain a spread element (@lukastaegert)