Skip to content

Releases: rollup/rollup

v1.12.3

19 May 09:41
Compare
Choose a tag to compare

2019-05-19

Bug Fixes

  • Prevent duplicate imports when exports are reexported as default exports (#2866)

Pull Requests

v1.12.2

17 May 12:44
Compare
Choose a tag to compare

2019-05-17

Bug Fixes

  • Do not fail when using clearScreen:false in watchMode (#2858)
  • Properly resolve star reexports when preserving modules (#2860)

Pull Requests

v1.12.1

16 May 05:58
Compare
Choose a tag to compare

2019-05-16

Bug Fixes

  • Extend file name sanitation to also replace "?" and "*" e.g. when preserving modules with the updated commonjs plugin (#2860)
  • Do not ignore module transformer that return an empty string (#2861)

Pull Requests

v1.12.0

15 May 06:39
Compare
Choose a tag to compare

2019-05-15

Features

  • Add treeshake.moduleSideEffects option to allow removing empty imports without a side-effect check (#2844)
  • Extend plugin API to allow marking modules as side-effect-free (#2844)
  • Extend this.resolve plugin context function with an option to skip the resolveId hook of the calling plugin (#2844)
  • Add isEntry flag to this.getModuleInfo plugin context function (#2844)
  • Distribute Rollup as optimized ES2015 code (#2851)

Pull Requests

v1.11.3

05 May 08:50
Compare
Choose a tag to compare

2019-05-05

Bug Fixes

  • Quote es3 keywords in namespace objects (#2825)

Pull Requests

  • #2825: Add es3 support for namespace object import (@sormy)

v1.11.2

04 May 09:17
Compare
Choose a tag to compare

2019-05-04

Bug Fixes

  • Prevent a crash when handling circular namespace exports (#2836)

Pull Requests

  • #2836: Make sure circular export * from X does not stack overflow (@Swatinem)

v1.11.1

04 May 06:23
Compare
Choose a tag to compare

2019-05-04

Bug Fixes

  • Fix an issue where rendered exports were reported as "removed" in the bundle information (#2835)

Pull Requests

  • #2835: Fix removedExports to correctly track the exported item (@Swatinem)

v1.11.0

03 May 09:28
Compare
Choose a tag to compare

2019-05-03

Features

  • Add emitChunk plugin context function to emit additional entry chunks that can be referenced from the code (#2809)
  • Allow manualChunks to be a function (#2831)
  • Omit .js extensions in AMD imports to make sure an AMD baseUrl would work (#2809)
  • Automatically use the name of the imported module as a base for dynamically imported chunks (#2809)
  • Add resolveFileUrl plugin hook to replace resolveAssetUrl and handle emitted chunks as well (#2809)
  • Add resolve plugin hook to replace resolveId and isExternal that returns an object (#2829)
  • Allow resolveDynamicImport to return an {id, external} object to also resolve unresolvable dynamic imports to a module (#2829)

Bug Fixes

  • Do not create invalid code if a dynamic import contains nothing but reexports (#2809)
  • Do not fail if modules that define a manual chunk depend on each other (#2809)
  • Do not fail if a module that defines a manual chunk is the dependency of a module defining a different manual chunk (#2809)
  • No longer fail for unnamed duplicate entry points but combine them (#2809)
  • Always return string | null from this.resolveId even if some resolveId hooks return objects (#2829)
  • Show proper warnings when resolveDynamicImport resolves to a non-external module that does not exist (#2829)

Pull Requests

v1.10.1

23 Apr 06:03
Compare
Choose a tag to compare

2019-04-19

Bug Fixes

  • Invalid options.format values will now trigger a helpful error (#2813)

Pull Requests

v1.10.0

11 Apr 06:56
Compare
Choose a tag to compare

2019-04-11

Features

  • Improve generated code to polyfill import.meta.url (#2785)
  • Add plugin hook to configure handling of import.meta (#2785)
  • Improve generated code when accessing URLs of emitted assets (#2796)
  • Add plugin hook to configure the generated code when accessing URLs of emitted assets (#2796)

Bug Fixes

  • No longer resolve assets to their parent URL in some cases (#2796)

Pull Requests