Releases: rollup/rollup
Releases · rollup/rollup
v1.12.3
v1.12.2
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
- #2858: Declare processConfigsErr before use (@humphd)
- #2860: Keep nested exports with preserveModules (@TomCaserta)
- #2864: Cache transitive reexport detection (@lukastaegert)
v1.12.1
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
- #2860: Update to latest plugins and extend file name sanitation (@lukastaegert)
- #2861: Allow transformers to return an empty string (@lukastaegert)
v1.12.0
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 theresolveId
hook of the calling plugin (#2844) - Add
isEntry
flag tothis.getModuleInfo
plugin context function (#2844) - Distribute Rollup as optimized ES2015 code (#2851)
Pull Requests
- #2844: Add options and hooks to control module side effects (@lukastaegert)
- #2851: Switch to ES2015 output (@lukastaegert)
v1.11.3
v1.11.2
v1.11.1
v1.11.0
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 AMDbaseUrl
would work (#2809) - Automatically use the name of the imported module as a base for dynamically imported chunks (#2809)
- Add
resolveFileUrl
plugin hook to replaceresolveAssetUrl
and handle emitted chunks as well (#2809) - Add
resolve
plugin hook to replaceresolveId
andisExternal
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
fromthis.resolveId
even if someresolveId
hooks return objects (#2829) - Show proper warnings when
resolveDynamicImport
resolves to a non-external module that does not exist (#2829)
Pull Requests
- #2809: Add hook for dynamic entry chunk emission (@lukastaegert)
- #2821: Fix syntax error in documentation (@FFxSquall)
- #2829: Improve id resolution (@lukastaegert)
- #2831: Allow manualChunks to be a function (@lukastaegert)
- #2832: Improve
generateBundle
documentation (@lukastaegert) - #2833: Update dependencies (@lukastaegert)
v1.10.1
2019-04-19
Bug Fixes
- Invalid options.format values will now trigger a helpful error (#2813)
Pull Requests
- #2812: Minor documentation update (@dnalborczyk)
- #2813: Catch invalid options.format values (@marijnh)
- #2816: Update all dependencies to fix security issues (@lukastaegert)
v1.10.0
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
- #2785: Refactor handling of import.meta.url and add option to configure behaviour (@lukastaegert)
- #2796: Improve and fix asset emission (@lukastaegert)