rollup/rollup
### [`v2.48.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2480)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.47.0...v2.48.0)
_2021-05-15_
##### Features
- Add replacement to conditionally insert asset extensions in `entryFileNames` when preserving modules ([#4077](https://togithub.com/rollup/rollup/issues/4077))
##### Bug Fixes
- Fix crash when dynamically assigning to namespace members ([#4070](https://togithub.com/rollup/rollup/issues/4070))
- Do not associate pure annotations in front of a semi-colon or comma with succeeding code ([#4068](https://togithub.com/rollup/rollup/issues/4068))
##### Pull Requests
- [#4068](https://togithub.com/rollup/rollup/pull/4068): ignore invalid trailing pure annotations ([@kzc](https://togithub.com/kzc))
- [#4070](https://togithub.com/rollup/rollup/pull/4070): undefined `deoptimizePath` when the first element is empty string ([@si3nloong](https://togithub.com/si3nloong))
- [#4071](https://togithub.com/rollup/rollup/pull/4071): add node.js v16 support ([@dnalborczyk](https://togithub.com/dnalborczyk))
- [#4077](https://togithub.com/rollup/rollup/pull/4077): Add assetExtname replacement in entryFileNames ([@BPScott](https://togithub.com/BPScott))
- [#4080](https://togithub.com/rollup/rollup/pull/4080): Added Rollup logo in README.md ([@priyanshurav](https://togithub.com/priyanshurav))
- [#4081](https://togithub.com/rollup/rollup/pull/4081): fix comment regarding invalid annotation handling ([@kzc](https://togithub.com/kzc))
### [`v2.47.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2470)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.46.0...v2.47.0)
_2021-05-04_
##### Features
- Warn about ambiguous imports from combined external namespace reexports ([#4064](https://togithub.com/rollup/rollup/issues/4064))
- In case of combined namespace reexports, always prefer local exports over external namespaces ([#4064](https://togithub.com/rollup/rollup/issues/4064))
- Treat conflicting names in local namespace reexports as undefined ([#4064](https://togithub.com/rollup/rollup/issues/4064))
##### Pull Requests
- [#4064](https://togithub.com/rollup/rollup/pull/4064): Prefer locally defined exports and reexports over external namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.46.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2460)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.2...v2.46.0)
_2021-04-29_
##### Features
- Add option to disable file name sanitation ([#4058](https://togithub.com/rollup/rollup/issues/4058))
- Add information about importers to unused external import warning ([#4054](https://togithub.com/rollup/rollup/issues/4054))
##### Pull Requests
- [#4042](https://togithub.com/rollup/rollup/pull/4042): Use Github actions only ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4045](https://togithub.com/rollup/rollup/pull/4045): Fix REPL artefact branch reference ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4046](https://togithub.com/rollup/rollup/pull/4046): Use codecov action for coverage ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4054](https://togithub.com/rollup/rollup/pull/4054): Add to `UNUSED_EXTERNAL_IMPORT` warning information about the origin of the problem ([@cawa-93](https://togithub.com/cawa-93))
- [#4058](https://togithub.com/rollup/rollup/pull/4058): Add sanitizeFileName option ([@guybedford](https://togithub.com/guybedford))
### [`v2.45.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2452)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.1...v2.45.2)
_2021-04-13_
##### Bug Fixes
- Do not user a dynamic entry file name for naming a manual chunk ([#4040](https://togithub.com/rollup/rollup/issues/4040))
##### Pull Requests
- [#4040](https://togithub.com/rollup/rollup/pull/4040): Prioritize manual chunk name over dynamic entry id ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.45.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2451)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.0...v2.45.1)
_2021-04-10_
##### Bug Fixes
- Handle falsy return values from async plugin options hooks ([#4039](https://togithub.com/rollup/rollup/issues/4039))
##### Pull Requests
- [#4039](https://togithub.com/rollup/rollup/pull/4039): Do not fail when returning null or undefined from an async options hook ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.45.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2450)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.44.0...v2.45.0)
_2021-04-09_
##### Features
- Support private class instance methods and accessors ([#4034](https://togithub.com/rollup/rollup/issues/4034))
##### Pull Requests
- [#4034](https://togithub.com/rollup/rollup/pull/4034): feat: add support for private class methods ([@dnalborczyk](https://togithub.com/dnalborczyk))
### [`v2.44.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2440)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.1...v2.44.0)
_2021-03-29_
##### Features
- Add a new option `makeAbsoluteExternalsRelative` to opt out of renormalizing absolute external ids to relative ids ([#4021](https://togithub.com/rollup/rollup/issues/4021))
- Extend the `resolveId` plugin hook to allow forcing or preventing renormalization of absolute external ids ([#4021](https://togithub.com/rollup/rollup/issues/4021))
- Make the rendered code of individual modules available in the generated bundle ([#4028](https://togithub.com/rollup/rollup/issues/4028))
##### Bug Fixes
- Handle objects with `__proto__` properties correctly ([#4019](https://togithub.com/rollup/rollup/issues/4019))
##### Pull Requests
- [#4019](https://togithub.com/rollup/rollup/pull/4019): Deoptimize ObjectExpression when a `__proto__` property is present ([@marijnh](https://togithub.com/marijnh))
- [#4021](https://togithub.com/rollup/rollup/pull/4021): Improve absolute path handling ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4026](https://togithub.com/rollup/rollup/pull/4026): chore: fix vscode launch config (change tdd to bdd) ([@jameslahm](https://togithub.com/jameslahm))
- [#4027](https://togithub.com/rollup/rollup/pull/4027): Post comment for PRs from forks ([@lukastaegert](https://togithub.com/lukastaegert))
- [#4028](https://togithub.com/rollup/rollup/pull/4028): Expose rendered module code to generateBundle hook ([@btd](https://togithub.com/btd))
### [`v2.43.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2431)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.0...v2.43.1)
_2021-03-28_
##### Bug Fixes
- Prevent infinite recursions in certain scenarios when calling object properties ([#4025](https://togithub.com/rollup/rollup/issues/4025))
##### Pull Requests
- [#4025](https://togithub.com/rollup/rollup/pull/4025): Handle recursive this mutation detection ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.43.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2430)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.4...v2.43.0)
_2021-03-27_
##### Features
- Track side effects of function properties in objects for better tree-shaking ([#4011](https://togithub.com/rollup/rollup/issues/4011))
##### Pull Requests
- [#4011](https://togithub.com/rollup/rollup/pull/4011): Disable pessimistic object deoptimization for calls when the called function doesn't ref this ([@marijnh](https://togithub.com/marijnh))
- [#4012](https://togithub.com/rollup/rollup/pull/4012): fix `sourcemap` reference in docs ([@tjenkinson](https://togithub.com/tjenkinson))
- [#4015](https://togithub.com/rollup/rollup/pull/4015): Use SIGTERM instead of SIGINT to kill test child processes in tests ([@marijnh](https://togithub.com/marijnh))
### [`v2.42.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2424)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.3...v2.42.4)
_2021-03-24_
##### Bug Fixes
- Do not discard plugin return values when using perf option ([#4010](https://togithub.com/rollup/rollup/issues/4010))
##### Pull Requests
- [#4010](https://togithub.com/rollup/rollup/pull/4010): Return hook result inside promise with async timer end ([@SuperOleg39](https://togithub.com/SuperOleg39))
### [`v2.42.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2423)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.2...v2.42.3)
_2021-03-22_
##### Bug Fixes
- Do not ignore `#__PURE__` comments in front of optional chaining expressions ([#4007](https://togithub.com/rollup/rollup/issues/4007))
##### Pull Requests
- [#4007](https://togithub.com/rollup/rollup/pull/4007): Tree-shake pure call expressions with optional chaining ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.42.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2422)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.1...v2.42.2)
_2021-03-22_
##### Bug Fixes
- Use correct import.meta.url in relative imports from transpiled config files ([#4005](https://togithub.com/rollup/rollup/issues/4005))
##### Pull Requests
- [#4005](https://togithub.com/rollup/rollup/pull/4005): Use correct import.meta.url in config files ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.42.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2421)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.0...v2.42.1)
_2021-03-20_
##### Bug Fixes
- Do not produce unhandled Promise rejections when plugins throw while using the `perf` option ([#4004](https://togithub.com/rollup/rollup/issues/4004))
##### Pull Requests
- [#4004](https://togithub.com/rollup/rollup/pull/4004): Fixed unhandled promise rejections ([@gluck](https://togithub.com/gluck))
### [`v2.42.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2420)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.5...v2.42.0)
_2021-03-19_
##### Features
- Prevent infinite loops when several plugins are using `this.resolve` in their resolveId hook ([#4000](https://togithub.com/rollup/rollup/issues/4000))
##### Pull Requests
- [#4000](https://togithub.com/rollup/rollup/pull/4000): Break infinite loops in this.resolve ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2415)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.4...v2.41.5)
_2021-03-18_
##### Bug Fixes
- Make sure unused property accesses of external namespaces can be tree-shaken ([#4001](https://togithub.com/rollup/rollup/issues/4001))
##### Pull Requests
- [#4001](https://togithub.com/rollup/rollup/pull/4001): Do not count accessing members of an external namespace as side-effects ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2414)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.3...v2.41.4)
_2021-03-16_
##### Bug Fixes
- Do not replace external namespace imports with individual named imports to avoid changing behaviour with regard to missing exports ([#3999](https://togithub.com/rollup/rollup/issues/3999))
##### Pull Requests
- [#3999](https://togithub.com/rollup/rollup/pull/3999): Allow to safely probe external namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2413)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.2...v2.41.3)
_2021-03-16_
##### Bug Fixes
- Always retain arguments passed to empty object pattern parameters ([#3998](https://togithub.com/rollup/rollup/issues/3998))
##### Pull Requests
- [#3998](https://togithub.com/rollup/rollup/pull/3998): Do not create invalid code if a function argument is an empty object pattern ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2412)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.1...v2.41.2)
_2021-03-12_
##### Bug Fixes
- Also remove sourcemaps comments if plugins return a pre-made ast ([#3987](https://togithub.com/rollup/rollup/issues/3987))
##### Pull Requests
- [#3987](https://togithub.com/rollup/rollup/pull/3987): Change removal of sourcemap comment ([@yannayl](https://togithub.com/yannayl))
### [`v2.41.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2411)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.0...v2.41.1)
_2021-03-11_
##### Pull Requests
- [#3990](https://togithub.com/rollup/rollup/pull/3990): Add browser sourcemap and remove log ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.41.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2410)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.40.0...v2.41.0)
_2021-03-09_
##### Features
- Add option to `treeshake.propertyReadSideEffects` to keep all property accesses ([#3985](https://togithub.com/rollup/rollup/issues/3985))
##### Bug Fixes
- Also respect pure comment annotations when a plugin provides an AST in the transform hook provided they use this.parse ([#3981](https://togithub.com/rollup/rollup/issues/3981))
##### Pull Requests
- [#3981](https://togithub.com/rollup/rollup/pull/3981): Move pure comment annotation to Graph.contextParse ([@yannayl](https://togithub.com/yannayl))
- [#3985](https://togithub.com/rollup/rollup/pull/3985): implement --treeshake.propertyReadSideEffects=always to handle getters with side effects ([@kzc](https://togithub.com/kzc))
### [`v2.40.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2400)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.39.1...v2.40.0)
_2021-02-26_
##### Features
- Make sure that entry point variable names take precedence over variable names in dependencies when deconflicting ([#3977](https://togithub.com/rollup/rollup/issues/3977))
##### Bug Fixes
- Replace `:` in generated file names to prevent invalid files on Windows ([#3972](https://togithub.com/rollup/rollup/issues/3972))
##### Pull Requests
- [#3972](https://togithub.com/rollup/rollup/pull/3972): Don't allow `:` in file names ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3976](https://togithub.com/rollup/rollup/pull/3976): Add soft breaks to guide to improve mobile experience ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3977](https://togithub.com/rollup/rollup/pull/3977): Reverse module deconflicting order ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.39.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2391)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.39.0...v2.39.1)
_2021-02-23_
##### Bug Fixes
- Make sure local variables named Symbol, Object or Promise do not conflict with code generated by Rollup ([#3971](https://togithub.com/rollup/rollup/issues/3971))
##### Pull Requests
- [#3964](https://togithub.com/rollup/rollup/pull/3964): Remove extra word ([@jamonholmgren](https://togithub.com/jamonholmgren))
- [#3971](https://togithub.com/rollup/rollup/pull/3971): Avoid conflicts with local variables named Symbol, Object, Promise ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.39.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2390)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.5...v2.39.0)
_2021-02-12_
##### Features
- Add "validate" option to verify generated chunks are valid JavaScript ([#3952](https://togithub.com/rollup/rollup/issues/3952))
##### Bug Fixes
- Always add exports properties for uninitialized named exports ([#3957](https://togithub.com/rollup/rollup/issues/3957))
- Allow using an external namespace reexport together with named exports ([#3959](https://togithub.com/rollup/rollup/issues/3959))
- Avoid invalid generated code in certain scenarios with SystemJS exports ([#3960](https://togithub.com/rollup/rollup/issues/3960))
##### Pull Requests
- [#3952](https://togithub.com/rollup/rollup/pull/3952): implement `validate` output option and `--validate` CLI option ([@kzc](https://togithub.com/kzc))
- [#3956](https://togithub.com/rollup/rollup/pull/3956): Update dependencies, fix fsevents issue ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3957](https://togithub.com/rollup/rollup/pull/3957): Make sure uninitialised exports turn up via .hasOwnProperty for non-ES formats ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3959](https://togithub.com/rollup/rollup/pull/3959): Allow overriding individual exports of reexported external namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3960](https://togithub.com/rollup/rollup/pull/3960): Make sure system exports are valid JavaScript
([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.38.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2385)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.4...v2.38.5)
_2021-02-05_
##### Bug Fixes
- Prevent invalid code when simplifying assignments and delcarations ([#3951](https://togithub.com/rollup/rollup/issues/3951))
- Prevent behaviour-changing line-breaks when simplifying assignments in return statements ([#3951](https://togithub.com/rollup/rollup/issues/3951))
- Slightly improve white-space rendering when simplifying certain expressions ([#3951](https://togithub.com/rollup/rollup/issues/3951))
##### Pull Requests
- [#3951](https://togithub.com/rollup/rollup/pull/3951): Wrap simplified assignments if necessary ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.38.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2384)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.3...v2.38.4)
_2021-02-02_
##### Bug Fixes
- Do not change logic when tree-shaking declarations in if statements or loops ([#3947](https://togithub.com/rollup/rollup/issues/3947))
##### Pull Requests
- [#3947](https://togithub.com/rollup/rollup/pull/3947): Do not tear apart declarations in loop or if bodies ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.38.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2383)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.2...v2.38.3)
_2021-02-01_
##### Bug Fixes
- Prevent an unexpected live-binding when default exporting a synthetic named export ([#3946](https://togithub.com/rollup/rollup/issues/3946))
##### Pull Requests
- [#3945](https://togithub.com/rollup/rollup/pull/3945): Upgrade chokidar and fsevents for Apple M1 compatibility ([@threepointone](https://togithub.com/threepointone))
- [#3946](https://togithub.com/rollup/rollup/pull/3946): Make sure default exports snapshot synthetic named exports ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.38.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2382)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.1...v2.38.2)
_2021-01-31_
##### Bug Fixes
- Do not generate invalid code for partially tree-shaken declarations in for loops ([#3943](https://togithub.com/rollup/rollup/issues/3943))
- Always include function bodies of functions in side-effect-free modules ([#3944](https://togithub.com/rollup/rollup/issues/3944))
##### Pull Requests
- [#3943](https://togithub.com/rollup/rollup/pull/3943): Do not partially tree-shake unused declarations in for loops ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3944](https://togithub.com/rollup/rollup/pull/3944): Correctly include functions with side effects from side-effect-free modules ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.38.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2381)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.0...v2.38.1)
_2021-01-28_
##### Bug Fixes
- Fix internal error when resolving a missing entry point in the browser build ([#3935](https://togithub.com/rollup/rollup/issues/3935))
##### Pull Requests
- [#3935](https://togithub.com/rollup/rollup/pull/3935): fix: remove isolated resolve() for compat with browser distribution ([@cmorten](https://togithub.com/cmorten) and [@lukastaegert](https://togithub.com/lukastaegert))
- [#3936](https://togithub.com/rollup/rollup/pull/3936): Ensure test after() callback is always executed ([@Benjamin-Dobell](https://togithub.com/Benjamin-Dobell))
- [#3937](https://togithub.com/rollup/rollup/pull/3937): Modernize references to other software ([@ludofischer](https://togithub.com/ludofischer))
### [`v2.38.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2380)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.37.1...v2.38.0)
_2021-01-22_
##### Features
- Entirely remove declared variables that only have an initializer side effect ([#3933](https://togithub.com/rollup/rollup/issues/3933))
##### Pull Requests
- [#3933](https://togithub.com/rollup/rollup/pull/3933): Tree-shake unused declarations while keeping initializer side-effects ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.37.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2371)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.37.0...v2.37.1)
_2021-01-20_
##### Pull Requests
- [#3929](https://togithub.com/rollup/rollup/pull/3929): Deduplicate acorn import ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.37.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2370)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.36.2...v2.37.0)
_2021-01-19_
##### Features
- Always check modules for side effects that only indirectly reexport a used variable ([#3840](https://togithub.com/rollup/rollup/issues/3840))
- Warn if a circular dependency would cause wrong execution order when preserving modules ([#3840](https://togithub.com/rollup/rollup/issues/3840))
##### Bug Fixes
- Allow consuming synthetic exports via modules that reexport a namespace ([#3894](https://togithub.com/rollup/rollup/issues/3894))
- Do not crash for circular default reexports ([#3840](https://togithub.com/rollup/rollup/issues/3840))
- Do not crash for circular synthetic namespaces ([#3840](https://togithub.com/rollup/rollup/issues/3840))
- Improve circular dependency execution order in certain scenarios ([#3840](https://togithub.com/rollup/rollup/issues/3840))
##### Pull Requests
- [#3840](https://togithub.com/rollup/rollup/pull/3840): Improve circular dependency execution order ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3894](https://togithub.com/rollup/rollup/pull/3894): Always respect synthetic namespaces in namespace reexport ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.36.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2362)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.36.1...v2.36.2)
_2021-01-16_
##### Bug Fixes
- Fix an issue where invalid code was generated for unused assignments with side effects ([#3926](https://togithub.com/rollup/rollup/issues/3926))
##### Pull Requests
- [#3926](https://togithub.com/rollup/rollup/pull/3926): Correctly simplify assignments with parentheses ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.36.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2361)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.36.0...v2.36.1)
_2021-01-06_
##### Bug Fixes
- Solve issues that result in invalid code when partially removing assignments ([#3921](https://togithub.com/rollup/rollup/issues/3921))
##### Pull Requests
- [#3921](https://togithub.com/rollup/rollup/pull/3921): Prevent invalid code when removing assignment target of side-effectful object expression ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.36.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2360)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.35.1...v2.36.0)
_2021-01-05_
##### Features
- Support partial tree-shaking of chained assignments and unused assignment targets ([#3919](https://togithub.com/rollup/rollup/issues/3919))
##### Pull Requests
- [#3919](https://togithub.com/rollup/rollup/pull/3919): Treeshake chained assignment expressions ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.35.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2351)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.35.0...v2.35.1)
_2020-12-14_
##### Bug Fixes
- Allow closing the bundle when watching in case of generate errors by adding the bundle to the error event ([#3909](https://togithub.com/rollup/rollup/issues/3909))
- Automatically close all bundles on generate errors when watching and using the CLI ([#3909](https://togithub.com/rollup/rollup/issues/3909))
- Try to create remaining bundles when watching and one of them throws ([#3909](https://togithub.com/rollup/rollup/issues/3909))
##### Pull Requests
- [#3909](https://togithub.com/rollup/rollup/pull/3909): Forward bundle through watch error events ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.35.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2350)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.34.2...v2.35.0)
_2020-12-14_
##### Features
- Add `closeBundle` hook that is triggered by `bundle.close()` in the JS API ([#3883](https://togithub.com/rollup/rollup/issues/3883))
##### Pull Requests
- [#3883](https://togithub.com/rollup/rollup/pull/3883): Revert pattern to folder export ([@intrnl](https://togithub.com/intrnl))
### [`v2.34.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2342)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.34.1...v2.34.2)
_2020-12-06_
##### Bug Fixes
- Revert pattern export change ([#3898](https://togithub.com/rollup/rollup/issues/3898))
##### Pull Requests
- [#3898](https://togithub.com/rollup/rollup/pull/3898): Revert pattern to folder export ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.34.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2341)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.34.0...v2.34.1)
_2020-12-03_
##### Bug Fixes
- Avoid Node deprecation warning by using a pattern export for nested Rollup files ([#3896](https://togithub.com/rollup/rollup/issues/3896))
##### Pull Requests
- [#3887](https://togithub.com/rollup/rollup/pull/3887): Run memory leak test on all systems ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3892](https://togithub.com/rollup/rollup/pull/3892): Add pull_request to windows github actions ([@shellscape](https://togithub.com/shellscape))
- [#3893](https://togithub.com/rollup/rollup/pull/3893): Update dependencies ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3896](https://togithub.com/rollup/rollup/pull/3896): Replace deprecated folder package export with pattern export ([@lukastaegert](https://togithub.com/lukastaegert))
Configuration
📅 Schedule: "after 10pm every weekday,every weekend,before 5am every weekday" (UTC).
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box.
This PR contains the following updates:
2.34.0
->2.48.0
Release Notes
rollup/rollup
### [`v2.48.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2480) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.47.0...v2.48.0) _2021-05-15_ ##### Features - Add replacement to conditionally insert asset extensions in `entryFileNames` when preserving modules ([#4077](https://togithub.com/rollup/rollup/issues/4077)) ##### Bug Fixes - Fix crash when dynamically assigning to namespace members ([#4070](https://togithub.com/rollup/rollup/issues/4070)) - Do not associate pure annotations in front of a semi-colon or comma with succeeding code ([#4068](https://togithub.com/rollup/rollup/issues/4068)) ##### Pull Requests - [#4068](https://togithub.com/rollup/rollup/pull/4068): ignore invalid trailing pure annotations ([@kzc](https://togithub.com/kzc)) - [#4070](https://togithub.com/rollup/rollup/pull/4070): undefined `deoptimizePath` when the first element is empty string ([@si3nloong](https://togithub.com/si3nloong)) - [#4071](https://togithub.com/rollup/rollup/pull/4071): add node.js v16 support ([@dnalborczyk](https://togithub.com/dnalborczyk)) - [#4077](https://togithub.com/rollup/rollup/pull/4077): Add assetExtname replacement in entryFileNames ([@BPScott](https://togithub.com/BPScott)) - [#4080](https://togithub.com/rollup/rollup/pull/4080): Added Rollup logo in README.md ([@priyanshurav](https://togithub.com/priyanshurav)) - [#4081](https://togithub.com/rollup/rollup/pull/4081): fix comment regarding invalid annotation handling ([@kzc](https://togithub.com/kzc)) ### [`v2.47.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2470) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.46.0...v2.47.0) _2021-05-04_ ##### Features - Warn about ambiguous imports from combined external namespace reexports ([#4064](https://togithub.com/rollup/rollup/issues/4064)) - In case of combined namespace reexports, always prefer local exports over external namespaces ([#4064](https://togithub.com/rollup/rollup/issues/4064)) - Treat conflicting names in local namespace reexports as undefined ([#4064](https://togithub.com/rollup/rollup/issues/4064)) ##### Pull Requests - [#4064](https://togithub.com/rollup/rollup/pull/4064): Prefer locally defined exports and reexports over external namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.46.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2460) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.2...v2.46.0) _2021-04-29_ ##### Features - Add option to disable file name sanitation ([#4058](https://togithub.com/rollup/rollup/issues/4058)) - Add information about importers to unused external import warning ([#4054](https://togithub.com/rollup/rollup/issues/4054)) ##### Pull Requests - [#4042](https://togithub.com/rollup/rollup/pull/4042): Use Github actions only ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4045](https://togithub.com/rollup/rollup/pull/4045): Fix REPL artefact branch reference ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4046](https://togithub.com/rollup/rollup/pull/4046): Use codecov action for coverage ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4054](https://togithub.com/rollup/rollup/pull/4054): Add to `UNUSED_EXTERNAL_IMPORT` warning information about the origin of the problem ([@cawa-93](https://togithub.com/cawa-93)) - [#4058](https://togithub.com/rollup/rollup/pull/4058): Add sanitizeFileName option ([@guybedford](https://togithub.com/guybedford)) ### [`v2.45.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2452) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.1...v2.45.2) _2021-04-13_ ##### Bug Fixes - Do not user a dynamic entry file name for naming a manual chunk ([#4040](https://togithub.com/rollup/rollup/issues/4040)) ##### Pull Requests - [#4040](https://togithub.com/rollup/rollup/pull/4040): Prioritize manual chunk name over dynamic entry id ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.45.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2451) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.45.0...v2.45.1) _2021-04-10_ ##### Bug Fixes - Handle falsy return values from async plugin options hooks ([#4039](https://togithub.com/rollup/rollup/issues/4039)) ##### Pull Requests - [#4039](https://togithub.com/rollup/rollup/pull/4039): Do not fail when returning null or undefined from an async options hook ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.45.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2450) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.44.0...v2.45.0) _2021-04-09_ ##### Features - Support private class instance methods and accessors ([#4034](https://togithub.com/rollup/rollup/issues/4034)) ##### Pull Requests - [#4034](https://togithub.com/rollup/rollup/pull/4034): feat: add support for private class methods ([@dnalborczyk](https://togithub.com/dnalborczyk)) ### [`v2.44.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2440) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.1...v2.44.0) _2021-03-29_ ##### Features - Add a new option `makeAbsoluteExternalsRelative` to opt out of renormalizing absolute external ids to relative ids ([#4021](https://togithub.com/rollup/rollup/issues/4021)) - Extend the `resolveId` plugin hook to allow forcing or preventing renormalization of absolute external ids ([#4021](https://togithub.com/rollup/rollup/issues/4021)) - Make the rendered code of individual modules available in the generated bundle ([#4028](https://togithub.com/rollup/rollup/issues/4028)) ##### Bug Fixes - Handle objects with `__proto__` properties correctly ([#4019](https://togithub.com/rollup/rollup/issues/4019)) ##### Pull Requests - [#4019](https://togithub.com/rollup/rollup/pull/4019): Deoptimize ObjectExpression when a `__proto__` property is present ([@marijnh](https://togithub.com/marijnh)) - [#4021](https://togithub.com/rollup/rollup/pull/4021): Improve absolute path handling ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4026](https://togithub.com/rollup/rollup/pull/4026): chore: fix vscode launch config (change tdd to bdd) ([@jameslahm](https://togithub.com/jameslahm)) - [#4027](https://togithub.com/rollup/rollup/pull/4027): Post comment for PRs from forks ([@lukastaegert](https://togithub.com/lukastaegert)) - [#4028](https://togithub.com/rollup/rollup/pull/4028): Expose rendered module code to generateBundle hook ([@btd](https://togithub.com/btd)) ### [`v2.43.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2431) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.43.0...v2.43.1) _2021-03-28_ ##### Bug Fixes - Prevent infinite recursions in certain scenarios when calling object properties ([#4025](https://togithub.com/rollup/rollup/issues/4025)) ##### Pull Requests - [#4025](https://togithub.com/rollup/rollup/pull/4025): Handle recursive this mutation detection ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.43.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2430) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.4...v2.43.0) _2021-03-27_ ##### Features - Track side effects of function properties in objects for better tree-shaking ([#4011](https://togithub.com/rollup/rollup/issues/4011)) ##### Pull Requests - [#4011](https://togithub.com/rollup/rollup/pull/4011): Disable pessimistic object deoptimization for calls when the called function doesn't ref this ([@marijnh](https://togithub.com/marijnh)) - [#4012](https://togithub.com/rollup/rollup/pull/4012): fix `sourcemap` reference in docs ([@tjenkinson](https://togithub.com/tjenkinson)) - [#4015](https://togithub.com/rollup/rollup/pull/4015): Use SIGTERM instead of SIGINT to kill test child processes in tests ([@marijnh](https://togithub.com/marijnh)) ### [`v2.42.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2424) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.3...v2.42.4) _2021-03-24_ ##### Bug Fixes - Do not discard plugin return values when using perf option ([#4010](https://togithub.com/rollup/rollup/issues/4010)) ##### Pull Requests - [#4010](https://togithub.com/rollup/rollup/pull/4010): Return hook result inside promise with async timer end ([@SuperOleg39](https://togithub.com/SuperOleg39)) ### [`v2.42.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2423) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.2...v2.42.3) _2021-03-22_ ##### Bug Fixes - Do not ignore `#__PURE__` comments in front of optional chaining expressions ([#4007](https://togithub.com/rollup/rollup/issues/4007)) ##### Pull Requests - [#4007](https://togithub.com/rollup/rollup/pull/4007): Tree-shake pure call expressions with optional chaining ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.42.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2422) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.1...v2.42.2) _2021-03-22_ ##### Bug Fixes - Use correct import.meta.url in relative imports from transpiled config files ([#4005](https://togithub.com/rollup/rollup/issues/4005)) ##### Pull Requests - [#4005](https://togithub.com/rollup/rollup/pull/4005): Use correct import.meta.url in config files ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.42.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2421) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.42.0...v2.42.1) _2021-03-20_ ##### Bug Fixes - Do not produce unhandled Promise rejections when plugins throw while using the `perf` option ([#4004](https://togithub.com/rollup/rollup/issues/4004)) ##### Pull Requests - [#4004](https://togithub.com/rollup/rollup/pull/4004): Fixed unhandled promise rejections ([@gluck](https://togithub.com/gluck)) ### [`v2.42.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2420) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.5...v2.42.0) _2021-03-19_ ##### Features - Prevent infinite loops when several plugins are using `this.resolve` in their resolveId hook ([#4000](https://togithub.com/rollup/rollup/issues/4000)) ##### Pull Requests - [#4000](https://togithub.com/rollup/rollup/pull/4000): Break infinite loops in this.resolve ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2415) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.4...v2.41.5) _2021-03-18_ ##### Bug Fixes - Make sure unused property accesses of external namespaces can be tree-shaken ([#4001](https://togithub.com/rollup/rollup/issues/4001)) ##### Pull Requests - [#4001](https://togithub.com/rollup/rollup/pull/4001): Do not count accessing members of an external namespace as side-effects ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2414) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.3...v2.41.4) _2021-03-16_ ##### Bug Fixes - Do not replace external namespace imports with individual named imports to avoid changing behaviour with regard to missing exports ([#3999](https://togithub.com/rollup/rollup/issues/3999)) ##### Pull Requests - [#3999](https://togithub.com/rollup/rollup/pull/3999): Allow to safely probe external namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2413) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.2...v2.41.3) _2021-03-16_ ##### Bug Fixes - Always retain arguments passed to empty object pattern parameters ([#3998](https://togithub.com/rollup/rollup/issues/3998)) ##### Pull Requests - [#3998](https://togithub.com/rollup/rollup/pull/3998): Do not create invalid code if a function argument is an empty object pattern ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2412) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.1...v2.41.2) _2021-03-12_ ##### Bug Fixes - Also remove sourcemaps comments if plugins return a pre-made ast ([#3987](https://togithub.com/rollup/rollup/issues/3987)) ##### Pull Requests - [#3987](https://togithub.com/rollup/rollup/pull/3987): Change removal of sourcemap comment ([@yannayl](https://togithub.com/yannayl)) ### [`v2.41.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2411) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.41.0...v2.41.1) _2021-03-11_ ##### Pull Requests - [#3990](https://togithub.com/rollup/rollup/pull/3990): Add browser sourcemap and remove log ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.41.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2410) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.40.0...v2.41.0) _2021-03-09_ ##### Features - Add option to `treeshake.propertyReadSideEffects` to keep all property accesses ([#3985](https://togithub.com/rollup/rollup/issues/3985)) ##### Bug Fixes - Also respect pure comment annotations when a plugin provides an AST in the transform hook provided they use this.parse ([#3981](https://togithub.com/rollup/rollup/issues/3981)) ##### Pull Requests - [#3981](https://togithub.com/rollup/rollup/pull/3981): Move pure comment annotation to Graph.contextParse ([@yannayl](https://togithub.com/yannayl)) - [#3985](https://togithub.com/rollup/rollup/pull/3985): implement --treeshake.propertyReadSideEffects=always to handle getters with side effects ([@kzc](https://togithub.com/kzc)) ### [`v2.40.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2400) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.39.1...v2.40.0) _2021-02-26_ ##### Features - Make sure that entry point variable names take precedence over variable names in dependencies when deconflicting ([#3977](https://togithub.com/rollup/rollup/issues/3977)) ##### Bug Fixes - Replace `:` in generated file names to prevent invalid files on Windows ([#3972](https://togithub.com/rollup/rollup/issues/3972)) ##### Pull Requests - [#3972](https://togithub.com/rollup/rollup/pull/3972): Don't allow `:` in file names ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3976](https://togithub.com/rollup/rollup/pull/3976): Add soft breaks to guide to improve mobile experience ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3977](https://togithub.com/rollup/rollup/pull/3977): Reverse module deconflicting order ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.39.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2391) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.39.0...v2.39.1) _2021-02-23_ ##### Bug Fixes - Make sure local variables named Symbol, Object or Promise do not conflict with code generated by Rollup ([#3971](https://togithub.com/rollup/rollup/issues/3971)) ##### Pull Requests - [#3964](https://togithub.com/rollup/rollup/pull/3964): Remove extra word ([@jamonholmgren](https://togithub.com/jamonholmgren)) - [#3971](https://togithub.com/rollup/rollup/pull/3971): Avoid conflicts with local variables named Symbol, Object, Promise ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.39.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2390) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.5...v2.39.0) _2021-02-12_ ##### Features - Add "validate" option to verify generated chunks are valid JavaScript ([#3952](https://togithub.com/rollup/rollup/issues/3952)) ##### Bug Fixes - Always add exports properties for uninitialized named exports ([#3957](https://togithub.com/rollup/rollup/issues/3957)) - Allow using an external namespace reexport together with named exports ([#3959](https://togithub.com/rollup/rollup/issues/3959)) - Avoid invalid generated code in certain scenarios with SystemJS exports ([#3960](https://togithub.com/rollup/rollup/issues/3960)) ##### Pull Requests - [#3952](https://togithub.com/rollup/rollup/pull/3952): implement `validate` output option and `--validate` CLI option ([@kzc](https://togithub.com/kzc)) - [#3956](https://togithub.com/rollup/rollup/pull/3956): Update dependencies, fix fsevents issue ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3957](https://togithub.com/rollup/rollup/pull/3957): Make sure uninitialised exports turn up via .hasOwnProperty for non-ES formats ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3959](https://togithub.com/rollup/rollup/pull/3959): Allow overriding individual exports of reexported external namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3960](https://togithub.com/rollup/rollup/pull/3960): Make sure system exports are valid JavaScript ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.38.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2385) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.4...v2.38.5) _2021-02-05_ ##### Bug Fixes - Prevent invalid code when simplifying assignments and delcarations ([#3951](https://togithub.com/rollup/rollup/issues/3951)) - Prevent behaviour-changing line-breaks when simplifying assignments in return statements ([#3951](https://togithub.com/rollup/rollup/issues/3951)) - Slightly improve white-space rendering when simplifying certain expressions ([#3951](https://togithub.com/rollup/rollup/issues/3951)) ##### Pull Requests - [#3951](https://togithub.com/rollup/rollup/pull/3951): Wrap simplified assignments if necessary ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.38.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2384) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.3...v2.38.4) _2021-02-02_ ##### Bug Fixes - Do not change logic when tree-shaking declarations in if statements or loops ([#3947](https://togithub.com/rollup/rollup/issues/3947)) ##### Pull Requests - [#3947](https://togithub.com/rollup/rollup/pull/3947): Do not tear apart declarations in loop or if bodies ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.38.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2383) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.2...v2.38.3) _2021-02-01_ ##### Bug Fixes - Prevent an unexpected live-binding when default exporting a synthetic named export ([#3946](https://togithub.com/rollup/rollup/issues/3946)) ##### Pull Requests - [#3945](https://togithub.com/rollup/rollup/pull/3945): Upgrade chokidar and fsevents for Apple M1 compatibility ([@threepointone](https://togithub.com/threepointone)) - [#3946](https://togithub.com/rollup/rollup/pull/3946): Make sure default exports snapshot synthetic named exports ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.38.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2382) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.1...v2.38.2) _2021-01-31_ ##### Bug Fixes - Do not generate invalid code for partially tree-shaken declarations in for loops ([#3943](https://togithub.com/rollup/rollup/issues/3943)) - Always include function bodies of functions in side-effect-free modules ([#3944](https://togithub.com/rollup/rollup/issues/3944)) ##### Pull Requests - [#3943](https://togithub.com/rollup/rollup/pull/3943): Do not partially tree-shake unused declarations in for loops ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3944](https://togithub.com/rollup/rollup/pull/3944): Correctly include functions with side effects from side-effect-free modules ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.38.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2381) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.38.0...v2.38.1) _2021-01-28_ ##### Bug Fixes - Fix internal error when resolving a missing entry point in the browser build ([#3935](https://togithub.com/rollup/rollup/issues/3935)) ##### Pull Requests - [#3935](https://togithub.com/rollup/rollup/pull/3935): fix: remove isolated resolve() for compat with browser distribution ([@cmorten](https://togithub.com/cmorten) and [@lukastaegert](https://togithub.com/lukastaegert)) - [#3936](https://togithub.com/rollup/rollup/pull/3936): Ensure test after() callback is always executed ([@Benjamin-Dobell](https://togithub.com/Benjamin-Dobell)) - [#3937](https://togithub.com/rollup/rollup/pull/3937): Modernize references to other software ([@ludofischer](https://togithub.com/ludofischer)) ### [`v2.38.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2380) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.37.1...v2.38.0) _2021-01-22_ ##### Features - Entirely remove declared variables that only have an initializer side effect ([#3933](https://togithub.com/rollup/rollup/issues/3933)) ##### Pull Requests - [#3933](https://togithub.com/rollup/rollup/pull/3933): Tree-shake unused declarations while keeping initializer side-effects ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.37.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2371) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.37.0...v2.37.1) _2021-01-20_ ##### Pull Requests - [#3929](https://togithub.com/rollup/rollup/pull/3929): Deduplicate acorn import ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.37.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2370) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.36.2...v2.37.0) _2021-01-19_ ##### Features - Always check modules for side effects that only indirectly reexport a used variable ([#3840](https://togithub.com/rollup/rollup/issues/3840)) - Warn if a circular dependency would cause wrong execution order when preserving modules ([#3840](https://togithub.com/rollup/rollup/issues/3840)) ##### Bug Fixes - Allow consuming synthetic exports via modules that reexport a namespace ([#3894](https://togithub.com/rollup/rollup/issues/3894)) - Do not crash for circular default reexports ([#3840](https://togithub.com/rollup/rollup/issues/3840)) - Do not crash for circular synthetic namespaces ([#3840](https://togithub.com/rollup/rollup/issues/3840)) - Improve circular dependency execution order in certain scenarios ([#3840](https://togithub.com/rollup/rollup/issues/3840)) ##### Pull Requests - [#3840](https://togithub.com/rollup/rollup/pull/3840): Improve circular dependency execution order ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3894](https://togithub.com/rollup/rollup/pull/3894): Always respect synthetic namespaces in namespace reexport ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.36.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2362) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.36.1...v2.36.2) _2021-01-16_ ##### Bug Fixes - Fix an issue where invalid code was generated for unused assignments with side effects ([#3926](https://togithub.com/rollup/rollup/issues/3926)) ##### Pull Requests - [#3926](https://togithub.com/rollup/rollup/pull/3926): Correctly simplify assignments with parentheses ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.36.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2361) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.36.0...v2.36.1) _2021-01-06_ ##### Bug Fixes - Solve issues that result in invalid code when partially removing assignments ([#3921](https://togithub.com/rollup/rollup/issues/3921)) ##### Pull Requests - [#3921](https://togithub.com/rollup/rollup/pull/3921): Prevent invalid code when removing assignment target of side-effectful object expression ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.36.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2360) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.35.1...v2.36.0) _2021-01-05_ ##### Features - Support partial tree-shaking of chained assignments and unused assignment targets ([#3919](https://togithub.com/rollup/rollup/issues/3919)) ##### Pull Requests - [#3919](https://togithub.com/rollup/rollup/pull/3919): Treeshake chained assignment expressions ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.35.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2351) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.35.0...v2.35.1) _2020-12-14_ ##### Bug Fixes - Allow closing the bundle when watching in case of generate errors by adding the bundle to the error event ([#3909](https://togithub.com/rollup/rollup/issues/3909)) - Automatically close all bundles on generate errors when watching and using the CLI ([#3909](https://togithub.com/rollup/rollup/issues/3909)) - Try to create remaining bundles when watching and one of them throws ([#3909](https://togithub.com/rollup/rollup/issues/3909)) ##### Pull Requests - [#3909](https://togithub.com/rollup/rollup/pull/3909): Forward bundle through watch error events ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.35.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2350) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.34.2...v2.35.0) _2020-12-14_ ##### Features - Add `closeBundle` hook that is triggered by `bundle.close()` in the JS API ([#3883](https://togithub.com/rollup/rollup/issues/3883)) ##### Pull Requests - [#3883](https://togithub.com/rollup/rollup/pull/3883): Revert pattern to folder export ([@intrnl](https://togithub.com/intrnl)) ### [`v2.34.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2342) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.34.1...v2.34.2) _2020-12-06_ ##### Bug Fixes - Revert pattern export change ([#3898](https://togithub.com/rollup/rollup/issues/3898)) ##### Pull Requests - [#3898](https://togithub.com/rollup/rollup/pull/3898): Revert pattern to folder export ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.34.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2341) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.34.0...v2.34.1) _2020-12-03_ ##### Bug Fixes - Avoid Node deprecation warning by using a pattern export for nested Rollup files ([#3896](https://togithub.com/rollup/rollup/issues/3896)) ##### Pull Requests - [#3887](https://togithub.com/rollup/rollup/pull/3887): Run memory leak test on all systems ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3892](https://togithub.com/rollup/rollup/pull/3892): Add pull_request to windows github actions ([@shellscape](https://togithub.com/shellscape)) - [#3893](https://togithub.com/rollup/rollup/pull/3893): Update dependencies ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3896](https://togithub.com/rollup/rollup/pull/3896): Replace deprecated folder package export with pattern export ([@lukastaegert](https://togithub.com/lukastaegert))Configuration
📅 Schedule: "after 10pm every weekday,every weekend,before 5am every weekday" (UTC).
🚦 Automerge: Enabled.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.