rollup/rollup
### [`v2.31.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2310)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.30.0...v2.31.0)
_2020-10-15_
##### Features
- When using the `output.moduleToStringTag` option, also add the tag to entries with exports and simulated external namespaces ([#3822](https://togithub.com/rollup/rollup/issues/3822))
- Add the `__esModule` interop marker to IIFE global variables unless `output.esModule` is turned off ([#3822](https://togithub.com/rollup/rollup/issues/3822))
##### Pull Requests
- [#3822](https://togithub.com/rollup/rollup/pull/3822): Add module toStringTag to entries and interop namespaces ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.30.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2300)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.29.0...v2.30.0)
_2020-10-13_
##### Features
- Add `moduleParsed` hook that is called for each module once code and AST are available ([#3813](https://togithub.com/rollup/rollup/issues/3813))
- Include code and AST in `this.getModuleInfo` ([#3813](https://togithub.com/rollup/rollup/issues/3813))
##### Bug Fixes
- Provide the original Acorn AST instead of the internal one when resolving dynamic imports that contain non-trivial expressions ([#3813](https://togithub.com/rollup/rollup/issues/3813))
##### Pull Requests
- [#3813](https://togithub.com/rollup/rollup/pull/3813): Add moduleParsed plugin hook ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3815](https://togithub.com/rollup/rollup/pull/3815): Docs: wile => while ([@tjenkinson](https://togithub.com/tjenkinson))
- [#3817](https://togithub.com/rollup/rollup/pull/3817): Docs: fix code snippet ([@codefrau](https://togithub.com/codefrau))
- [#3818](https://togithub.com/rollup/rollup/pull/3818): Update documentation on configuring Babel, removing the section on passing '{"modules": false}' as that is no longer needed since Babel 7 ([@Robin-Hoodie](https://togithub.com/Robin-Hoodie))
### [`v2.29.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2290)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.28.2...v2.29.0)
_2020-10-08_
##### Features
- Allow passing custom options to other plugins via `this.resolve` ([#3807](https://togithub.com/rollup/rollup/issues/3807))
- Allow attaching custom meta information to modules when resolving, loading or transforming ([#3807](https://togithub.com/rollup/rollup/issues/3807))
- Do not throw but return `null` when using `this.getModuleInfo` for an unknown id ([#3807](https://togithub.com/rollup/rollup/issues/3807))
##### Bug Fixes
- Trigger build in watch mode when files are added to a watched directory ([#3812](https://togithub.com/rollup/rollup/issues/3812))
- Make `code` optional when transforming modules ([#3807](https://togithub.com/rollup/rollup/issues/3807))
##### Pull Requests
- [#3807](https://togithub.com/rollup/rollup/pull/3807): Implement new APIs for inter-plugin communication ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3808](https://togithub.com/rollup/rollup/pull/3808): Document that the default value of --format is 'es' ([@jameshfisher](https://togithub.com/jameshfisher))
- [#3812](https://togithub.com/rollup/rollup/pull/3812): Watch: listen for new files added to a directory ([@dmitrage](https://togithub.com/dmitrage))
### [`v2.28.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2282)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.28.1...v2.28.2)
_2020-09-24_
##### Bug Fixes
- Fix a source of possible variable name conflicts when using preserveModules with SystemJS ([#3796](https://togithub.com/rollup/rollup/issues/3796))
##### Pull Requests
- [#3792](https://togithub.com/rollup/rollup/pull/3792): add documentation for output.PreserveModulesRoot ([@davidroeca](https://togithub.com/davidroeca))
- [#3796](https://togithub.com/rollup/rollup/pull/3796): Fix SystemJS default variable conflict ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.28.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2281)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.28.0...v2.28.1)
_2020-09-21_
##### Bug Fixes
- Fix a path slash issue when using the preserveModulesRoot option on Windows ([#3791](https://togithub.com/rollup/rollup/issues/3791))
##### Pull Requests
- [#3791](https://togithub.com/rollup/rollup/pull/3791): Fix preserveModulesRoot path on Windows ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.28.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2280)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.27.1...v2.28.0)
_2020-09-21_
##### Features
- Add an option to treat modules at a given path as located at root when preserving modules ([#3786](https://togithub.com/rollup/rollup/issues/3786))
##### Pull Requests
- [#3786](https://togithub.com/rollup/rollup/pull/3786): Add preserveModulesRoot config option ([@davidroeca](https://togithub.com/davidroeca))
### [`v2.27.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2271)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.27.0...v2.27.1)
_2020-09-17_
##### Bug Fixes
- Do not fail when using ES module imports in symlinked config files ([#3783](https://togithub.com/rollup/rollup/issues/3783))
##### Pull Requests
- [#3783](https://togithub.com/rollup/rollup/pull/3783): Handle loading symlinked config files ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.27.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2270)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.11...v2.27.0)
_2020-09-16_
##### Features
- Support specifying a file extension when reading from stdin ([#3775](https://togithub.com/rollup/rollup/issues/3775))
##### Bug Fixes
- Do not break logic if a branch with hoisted variables is tree-shaken in an else-if statement ([#3782](https://togithub.com/rollup/rollup/issues/3782))
##### Pull Requests
- [#3770](https://togithub.com/rollup/rollup/pull/3770): Docs: Exception for babel plugin and commonjs plugin ([@jsk7](https://togithub.com/jsk7))
- [#3775](https://togithub.com/rollup/rollup/pull/3775): add ability to specify stdin file extension via --stdin=ext ([@kzc](https://togithub.com/kzc))
- [#3782](https://togithub.com/rollup/rollup/pull/3782): Handle hoisted variables in dead branches of nested if statements ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.11`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#22611)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.10...v2.26.11)
_2020-09-08_
##### Bug Fixes
- Do not fail for unknown nodes as if statement branches ([#3769](https://togithub.com/rollup/rollup/issues/3769))
##### Pull Requests
- [#3769](https://togithub.com/rollup/rollup/pull/3769): Handle debugger statements as if-statement branches ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.10`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#22610)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.9...v2.26.10)
_2020-09-04_
##### Bug Fixes
- Do not create invalid code when simplifying expressions in return statements that contain line comments ([#3762](https://togithub.com/rollup/rollup/issues/3762))
##### Pull Requests
- [#3757](https://togithub.com/rollup/rollup/pull/3757): Fix api docs loadconfigfile ([@maxwell8888](https://togithub.com/maxwell8888))
- [#3762](https://togithub.com/rollup/rollup/pull/3762): Handle line-comments when removing line-breaks to prevent ASI ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.9`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2269)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.8...v2.26.9)
_2020-09-01_
##### Bug Fixes
- Add regular expression support to watch include/exclude types ([#3754](https://togithub.com/rollup/rollup/issues/3754))
##### Pull Requests
- [#3754](https://togithub.com/rollup/rollup/pull/3754): Add RegExp to the include and exclude fields of the WatcherOptions type ([@dagda1](https://togithub.com/dagda1))
- [#3756](https://togithub.com/rollup/rollup/pull/3756): Update FAQ: I think it was meant "external" instead of "other-entry.js" ([@madacol](https://togithub.com/madacol))
### [`v2.26.8`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2268)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.7...v2.26.8)
_2020-08-29_
##### Bug Fixes
- Make sure that both unresolved and resolved ids are passed to the `external` option in all cases ([#3753](https://togithub.com/rollup/rollup/issues/3753))
##### Pull Requests
- [#3753](https://togithub.com/rollup/rollup/pull/3753): Also pass resolved ids to external if they use the object for ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.7`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2267)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.6...v2.26.7)
_2020-08-28_
##### Bug Fixes
- Avoid invalid code when rendering hoisted variable declarations from dead branches ([#3752](https://togithub.com/rollup/rollup/issues/3752))
- Mark the `options` parameter of `this.parse` as optional for TypeScript plugins ([#3750](https://togithub.com/rollup/rollup/issues/3750))
##### Pull Requests
- [#3750](https://togithub.com/rollup/rollup/pull/3750): Make `options` of `PluginContext#parse` optional ([@intrnl](https://togithub.com/intrnl))
- [#3752](https://togithub.com/rollup/rollup/pull/3752): Extract hoisted variables from dead branches ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2266)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.5...v2.26.6)
_2020-08-27_
##### Bug Fixes
- Avoid conflicts between the namespace of synthetic named exports and local variables ([#3747](https://togithub.com/rollup/rollup/issues/3747))
##### Pull Requests
- [#3747](https://togithub.com/rollup/rollup/pull/3747): Properly deconflict synthetic named exports ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2265)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.4...v2.26.5)
_2020-08-22_
##### Bug Fixes
- Use correctly deconflicted variable names for reexported namespaces in ES formats ([#3742](https://togithub.com/rollup/rollup/issues/3742))
##### Pull Requests
- [#3742](https://togithub.com/rollup/rollup/pull/3742): Avoid variable name conflict when reexporting several namespaces from a chunk ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2264)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.3...v2.26.4)
_2020-08-19_
##### Bug Fixes
- Fix a situation where invalid code was rendered when dynamically importing a module with synthetic named exports when preserving modules ([#3738](https://togithub.com/rollup/rollup/issues/3738))
- Create a proper namespace object when in a non-es format, a namespace is imported from a chunk with `default` export mode ([#3738](https://togithub.com/rollup/rollup/issues/3738))
- Use the same variable when in a chunk, a namespace is both imported and reexported as a binding ([#3738](https://togithub.com/rollup/rollup/issues/3738))
- Do not include the synthetic namespace in static entry points unless it is actually used ([#3738](https://togithub.com/rollup/rollup/issues/3738))
- Make sure the chunking of one output does not interfere with the namespace objects of another output ([#3738](https://togithub.com/rollup/rollup/issues/3738))
##### Pull Requests
- [#3738](https://togithub.com/rollup/rollup/pull/3738): Improve synthetic entry handling ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2263)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.2...v2.26.3)
_2020-08-16_
##### Bug Fixes
- Fix a situation where line-breaks in a nested simplified conditional expression could result in broken code ([#3734](https://togithub.com/rollup/rollup/issues/3734))
##### Pull Requests
- [#3734](https://togithub.com/rollup/rollup/pull/3734): Prevent ASI when simplifying a nested logical expression ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2262)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.1...v2.26.2)
_2020-08-16_
##### Bug Fixes
- Fix a situation where line-breaks in a simplified conditional expression could result in broken code ([#3732](https://togithub.com/rollup/rollup/issues/3732))
##### Pull Requests
- [#3732](https://togithub.com/rollup/rollup/pull/3732): Prevent unintended ASI for nested conditionals ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#22611)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.0...v2.26.1)
_2020-09-08_
##### Bug Fixes
- Do not fail for unknown nodes as if statement branches ([#3769](https://togithub.com/rollup/rollup/issues/3769))
##### Pull Requests
- [#3769](https://togithub.com/rollup/rollup/pull/3769): Handle debugger statements as if-statement branches ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.26.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2260)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.25.0...v2.26.0)
_2020-08-15_
##### Features
- Add a new entry `importedBindings` to the bundle information to list bindings per dependency ([#3722](https://togithub.com/rollup/rollup/issues/3722))
##### Bug Fixes
- Do not render an invalid UMD wrapper when no bindings are imported from a dependency ([#3724](https://togithub.com/rollup/rollup/issues/3724))
- Avoid situations where removing the `else` branch from an `if` statement might catch the `else` branch from another one ([#3725](https://togithub.com/rollup/rollup/issues/3725))
##### Pull Requests
- [#3722](https://togithub.com/rollup/rollup/pull/3722): Add import specifiers to bundle information ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3724](https://togithub.com/rollup/rollup/pull/3724): Fix missing variables for UMD and IIFE builds ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3725](https://togithub.com/rollup/rollup/pull/3725): Do not entirely remove else branch if another else branch might accidentally be referenced ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.25.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2250)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.24.0...v2.25.0)
_2020-08-14_
##### Features
- Add `--failAfterWarnings` CLI flag that will complete builds with warnings but return an error at the end ([#3712](https://togithub.com/rollup/rollup/issues/3712))
##### Pull Requests
- [#3712](https://togithub.com/rollup/rollup/pull/3712): Implement `--failAfterWarnings` flag ([@tjenkinson](https://togithub.com/tjenkinson))
### [`v2.24.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2240)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.23.1...v2.24.0)
_2020-08-13_
##### Features
- Allow defining interop per dependency via a function ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Support interop "auto" as a more compatible version of "true" ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Support interop "default" and "esModule" to avoid unnecessary interop helpers ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Support interop "defaultOnly" for simplified helpers and Node ESM interop compatible output ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Respect interop option for external dynamic imports ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Support live-bindings for external default imports in non-ES formats unless "externalLiveBindings" is "false" ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Use shared default interop helpers for AMD, UMD and IIFE formats ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Avoid unnecessarily deconflicted module variables in non-ES formats ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Freeze generated interop namespace objects ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Always mark interop helpers as pure ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Avoid default export interop if there is already an interop namespace object ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Sort all `require` statements to the top in CommonJS output for easier back-transpilation to ES modules by other tools ([#3710](https://togithub.com/rollup/rollup/issues/3710))
##### Bug Fixes
- Handle accessing `super` in static class fields ([#3720](https://togithub.com/rollup/rollup/issues/3720))
- Deconflict the names of helper variables introduced for interop ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Generate proper namespace objects for static namespace imports in non-ES formats ([#3710](https://togithub.com/rollup/rollup/issues/3710))
- Do not add unused interop helpers when using the renderDynamicImport hook ([#3710](https://togithub.com/rollup/rollup/issues/3710))
##### Pull Requests
- [#3710](https://togithub.com/rollup/rollup/pull/3710): Rework interop handling ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3720](https://togithub.com/rollup/rollup/pull/3720): Handle super in static class fields ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.23.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2231)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.23.0...v2.23.1)
_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](https://togithub.com/rollup/rollup/issues/3709))
##### Pull Requests
- [#3709](https://togithub.com/rollup/rollup/pull/3709): Properly construct namespace when dynamically importing chunks with facades in default export mode ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.23.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2230)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.22.2...v2.23.0)
_2020-07-23_
##### Features
- Handle environments with only globalThis in UMD output ([#3691](https://togithub.com/rollup/rollup/issues/3691))
##### Pull Requests
- [#3691](https://togithub.com/rollup/rollup/pull/3691): Check for globalThis in UMD wrapper ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.22.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2222)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.22.1...v2.22.2)
_2020-07-21_
##### Bug Fixes
- Always generate correct exports when an implicit entry is reexporting from another module ([#3688](https://togithub.com/rollup/rollup/issues/3688))
##### Pull Requests
- [#3688](https://togithub.com/rollup/rollup/pull/3688): Include all relevant modules to generate reexports for implicit dependencies ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.22.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2221)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.22.0...v2.22.1)
_2020-07-18_
##### Bug Fixes
- Remove unused arguments when calling a conditional expression ([#3680](https://togithub.com/rollup/rollup/issues/3680))
##### Pull Requests
- [#3680](https://togithub.com/rollup/rollup/pull/3680): Allow tree-shaking of arguments of functions that are returned by conditional expressions ([@lukastaegert](https://togithub.com/lukastaegert))
### [`v2.22.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2220)
[Compare Source](https://togithub.com/rollup/rollup/compare/v2.21.0...v2.22.0)
_2020-07-18_
##### Features
- Allow resolving synthetic named exports via an arbitrary export name ([#3657](https://togithub.com/rollup/rollup/issues/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](https://togithub.com/rollup/rollup/issues/3657))
##### Pull Requests
- [#3657](https://togithub.com/rollup/rollup/pull/3657): Add basic support for using a non-default export for syntheticNamedExports ([@lukastaegert](https://togithub.com/lukastaegert))
- [#3659](https://togithub.com/rollup/rollup/pull/3659): Warn when implicitly using default export mode ([@lukastaegert](https://togithub.com/lukastaegert))
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: 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.21.0
->2.31.0
Release Notes
rollup/rollup
### [`v2.31.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2310) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.30.0...v2.31.0) _2020-10-15_ ##### Features - When using the `output.moduleToStringTag` option, also add the tag to entries with exports and simulated external namespaces ([#3822](https://togithub.com/rollup/rollup/issues/3822)) - Add the `__esModule` interop marker to IIFE global variables unless `output.esModule` is turned off ([#3822](https://togithub.com/rollup/rollup/issues/3822)) ##### Pull Requests - [#3822](https://togithub.com/rollup/rollup/pull/3822): Add module toStringTag to entries and interop namespaces ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.30.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2300) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.29.0...v2.30.0) _2020-10-13_ ##### Features - Add `moduleParsed` hook that is called for each module once code and AST are available ([#3813](https://togithub.com/rollup/rollup/issues/3813)) - Include code and AST in `this.getModuleInfo` ([#3813](https://togithub.com/rollup/rollup/issues/3813)) ##### Bug Fixes - Provide the original Acorn AST instead of the internal one when resolving dynamic imports that contain non-trivial expressions ([#3813](https://togithub.com/rollup/rollup/issues/3813)) ##### Pull Requests - [#3813](https://togithub.com/rollup/rollup/pull/3813): Add moduleParsed plugin hook ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3815](https://togithub.com/rollup/rollup/pull/3815): Docs: wile => while ([@tjenkinson](https://togithub.com/tjenkinson)) - [#3817](https://togithub.com/rollup/rollup/pull/3817): Docs: fix code snippet ([@codefrau](https://togithub.com/codefrau)) - [#3818](https://togithub.com/rollup/rollup/pull/3818): Update documentation on configuring Babel, removing the section on passing '{"modules": false}' as that is no longer needed since Babel 7 ([@Robin-Hoodie](https://togithub.com/Robin-Hoodie)) ### [`v2.29.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2290) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.28.2...v2.29.0) _2020-10-08_ ##### Features - Allow passing custom options to other plugins via `this.resolve` ([#3807](https://togithub.com/rollup/rollup/issues/3807)) - Allow attaching custom meta information to modules when resolving, loading or transforming ([#3807](https://togithub.com/rollup/rollup/issues/3807)) - Do not throw but return `null` when using `this.getModuleInfo` for an unknown id ([#3807](https://togithub.com/rollup/rollup/issues/3807)) ##### Bug Fixes - Trigger build in watch mode when files are added to a watched directory ([#3812](https://togithub.com/rollup/rollup/issues/3812)) - Make `code` optional when transforming modules ([#3807](https://togithub.com/rollup/rollup/issues/3807)) ##### Pull Requests - [#3807](https://togithub.com/rollup/rollup/pull/3807): Implement new APIs for inter-plugin communication ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3808](https://togithub.com/rollup/rollup/pull/3808): Document that the default value of --format is 'es' ([@jameshfisher](https://togithub.com/jameshfisher)) - [#3812](https://togithub.com/rollup/rollup/pull/3812): Watch: listen for new files added to a directory ([@dmitrage](https://togithub.com/dmitrage)) ### [`v2.28.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2282) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.28.1...v2.28.2) _2020-09-24_ ##### Bug Fixes - Fix a source of possible variable name conflicts when using preserveModules with SystemJS ([#3796](https://togithub.com/rollup/rollup/issues/3796)) ##### Pull Requests - [#3792](https://togithub.com/rollup/rollup/pull/3792): add documentation for output.PreserveModulesRoot ([@davidroeca](https://togithub.com/davidroeca)) - [#3796](https://togithub.com/rollup/rollup/pull/3796): Fix SystemJS default variable conflict ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.28.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2281) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.28.0...v2.28.1) _2020-09-21_ ##### Bug Fixes - Fix a path slash issue when using the preserveModulesRoot option on Windows ([#3791](https://togithub.com/rollup/rollup/issues/3791)) ##### Pull Requests - [#3791](https://togithub.com/rollup/rollup/pull/3791): Fix preserveModulesRoot path on Windows ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.28.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2280) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.27.1...v2.28.0) _2020-09-21_ ##### Features - Add an option to treat modules at a given path as located at root when preserving modules ([#3786](https://togithub.com/rollup/rollup/issues/3786)) ##### Pull Requests - [#3786](https://togithub.com/rollup/rollup/pull/3786): Add preserveModulesRoot config option ([@davidroeca](https://togithub.com/davidroeca)) ### [`v2.27.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2271) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.27.0...v2.27.1) _2020-09-17_ ##### Bug Fixes - Do not fail when using ES module imports in symlinked config files ([#3783](https://togithub.com/rollup/rollup/issues/3783)) ##### Pull Requests - [#3783](https://togithub.com/rollup/rollup/pull/3783): Handle loading symlinked config files ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.27.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2270) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.11...v2.27.0) _2020-09-16_ ##### Features - Support specifying a file extension when reading from stdin ([#3775](https://togithub.com/rollup/rollup/issues/3775)) ##### Bug Fixes - Do not break logic if a branch with hoisted variables is tree-shaken in an else-if statement ([#3782](https://togithub.com/rollup/rollup/issues/3782)) ##### Pull Requests - [#3770](https://togithub.com/rollup/rollup/pull/3770): Docs: Exception for babel plugin and commonjs plugin ([@jsk7](https://togithub.com/jsk7)) - [#3775](https://togithub.com/rollup/rollup/pull/3775): add ability to specify stdin file extension via --stdin=ext ([@kzc](https://togithub.com/kzc)) - [#3782](https://togithub.com/rollup/rollup/pull/3782): Handle hoisted variables in dead branches of nested if statements ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.11`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#22611) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.10...v2.26.11) _2020-09-08_ ##### Bug Fixes - Do not fail for unknown nodes as if statement branches ([#3769](https://togithub.com/rollup/rollup/issues/3769)) ##### Pull Requests - [#3769](https://togithub.com/rollup/rollup/pull/3769): Handle debugger statements as if-statement branches ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.10`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#22610) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.9...v2.26.10) _2020-09-04_ ##### Bug Fixes - Do not create invalid code when simplifying expressions in return statements that contain line comments ([#3762](https://togithub.com/rollup/rollup/issues/3762)) ##### Pull Requests - [#3757](https://togithub.com/rollup/rollup/pull/3757): Fix api docs loadconfigfile ([@maxwell8888](https://togithub.com/maxwell8888)) - [#3762](https://togithub.com/rollup/rollup/pull/3762): Handle line-comments when removing line-breaks to prevent ASI ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.9`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2269) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.8...v2.26.9) _2020-09-01_ ##### Bug Fixes - Add regular expression support to watch include/exclude types ([#3754](https://togithub.com/rollup/rollup/issues/3754)) ##### Pull Requests - [#3754](https://togithub.com/rollup/rollup/pull/3754): Add RegExp to the include and exclude fields of the WatcherOptions type ([@dagda1](https://togithub.com/dagda1)) - [#3756](https://togithub.com/rollup/rollup/pull/3756): Update FAQ: I think it was meant "external" instead of "other-entry.js" ([@madacol](https://togithub.com/madacol)) ### [`v2.26.8`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2268) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.7...v2.26.8) _2020-08-29_ ##### Bug Fixes - Make sure that both unresolved and resolved ids are passed to the `external` option in all cases ([#3753](https://togithub.com/rollup/rollup/issues/3753)) ##### Pull Requests - [#3753](https://togithub.com/rollup/rollup/pull/3753): Also pass resolved ids to external if they use the object for ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.7`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2267) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.6...v2.26.7) _2020-08-28_ ##### Bug Fixes - Avoid invalid code when rendering hoisted variable declarations from dead branches ([#3752](https://togithub.com/rollup/rollup/issues/3752)) - Mark the `options` parameter of `this.parse` as optional for TypeScript plugins ([#3750](https://togithub.com/rollup/rollup/issues/3750)) ##### Pull Requests - [#3750](https://togithub.com/rollup/rollup/pull/3750): Make `options` of `PluginContext#parse` optional ([@intrnl](https://togithub.com/intrnl)) - [#3752](https://togithub.com/rollup/rollup/pull/3752): Extract hoisted variables from dead branches ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.6`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2266) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.5...v2.26.6) _2020-08-27_ ##### Bug Fixes - Avoid conflicts between the namespace of synthetic named exports and local variables ([#3747](https://togithub.com/rollup/rollup/issues/3747)) ##### Pull Requests - [#3747](https://togithub.com/rollup/rollup/pull/3747): Properly deconflict synthetic named exports ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.5`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2265) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.4...v2.26.5) _2020-08-22_ ##### Bug Fixes - Use correctly deconflicted variable names for reexported namespaces in ES formats ([#3742](https://togithub.com/rollup/rollup/issues/3742)) ##### Pull Requests - [#3742](https://togithub.com/rollup/rollup/pull/3742): Avoid variable name conflict when reexporting several namespaces from a chunk ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.4`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2264) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.3...v2.26.4) _2020-08-19_ ##### Bug Fixes - Fix a situation where invalid code was rendered when dynamically importing a module with synthetic named exports when preserving modules ([#3738](https://togithub.com/rollup/rollup/issues/3738)) - Create a proper namespace object when in a non-es format, a namespace is imported from a chunk with `default` export mode ([#3738](https://togithub.com/rollup/rollup/issues/3738)) - Use the same variable when in a chunk, a namespace is both imported and reexported as a binding ([#3738](https://togithub.com/rollup/rollup/issues/3738)) - Do not include the synthetic namespace in static entry points unless it is actually used ([#3738](https://togithub.com/rollup/rollup/issues/3738)) - Make sure the chunking of one output does not interfere with the namespace objects of another output ([#3738](https://togithub.com/rollup/rollup/issues/3738)) ##### Pull Requests - [#3738](https://togithub.com/rollup/rollup/pull/3738): Improve synthetic entry handling ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.3`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2263) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.2...v2.26.3) _2020-08-16_ ##### Bug Fixes - Fix a situation where line-breaks in a nested simplified conditional expression could result in broken code ([#3734](https://togithub.com/rollup/rollup/issues/3734)) ##### Pull Requests - [#3734](https://togithub.com/rollup/rollup/pull/3734): Prevent ASI when simplifying a nested logical expression ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2262) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.1...v2.26.2) _2020-08-16_ ##### Bug Fixes - Fix a situation where line-breaks in a simplified conditional expression could result in broken code ([#3732](https://togithub.com/rollup/rollup/issues/3732)) ##### Pull Requests - [#3732](https://togithub.com/rollup/rollup/pull/3732): Prevent unintended ASI for nested conditionals ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#22611) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.26.0...v2.26.1) _2020-09-08_ ##### Bug Fixes - Do not fail for unknown nodes as if statement branches ([#3769](https://togithub.com/rollup/rollup/issues/3769)) ##### Pull Requests - [#3769](https://togithub.com/rollup/rollup/pull/3769): Handle debugger statements as if-statement branches ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.26.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2260) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.25.0...v2.26.0) _2020-08-15_ ##### Features - Add a new entry `importedBindings` to the bundle information to list bindings per dependency ([#3722](https://togithub.com/rollup/rollup/issues/3722)) ##### Bug Fixes - Do not render an invalid UMD wrapper when no bindings are imported from a dependency ([#3724](https://togithub.com/rollup/rollup/issues/3724)) - Avoid situations where removing the `else` branch from an `if` statement might catch the `else` branch from another one ([#3725](https://togithub.com/rollup/rollup/issues/3725)) ##### Pull Requests - [#3722](https://togithub.com/rollup/rollup/pull/3722): Add import specifiers to bundle information ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3724](https://togithub.com/rollup/rollup/pull/3724): Fix missing variables for UMD and IIFE builds ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3725](https://togithub.com/rollup/rollup/pull/3725): Do not entirely remove else branch if another else branch might accidentally be referenced ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.25.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2250) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.24.0...v2.25.0) _2020-08-14_ ##### Features - Add `--failAfterWarnings` CLI flag that will complete builds with warnings but return an error at the end ([#3712](https://togithub.com/rollup/rollup/issues/3712)) ##### Pull Requests - [#3712](https://togithub.com/rollup/rollup/pull/3712): Implement `--failAfterWarnings` flag ([@tjenkinson](https://togithub.com/tjenkinson)) ### [`v2.24.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2240) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.23.1...v2.24.0) _2020-08-13_ ##### Features - Allow defining interop per dependency via a function ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Support interop "auto" as a more compatible version of "true" ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Support interop "default" and "esModule" to avoid unnecessary interop helpers ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Support interop "defaultOnly" for simplified helpers and Node ESM interop compatible output ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Respect interop option for external dynamic imports ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Support live-bindings for external default imports in non-ES formats unless "externalLiveBindings" is "false" ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Use shared default interop helpers for AMD, UMD and IIFE formats ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Avoid unnecessarily deconflicted module variables in non-ES formats ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Freeze generated interop namespace objects ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Always mark interop helpers as pure ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Avoid default export interop if there is already an interop namespace object ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Sort all `require` statements to the top in CommonJS output for easier back-transpilation to ES modules by other tools ([#3710](https://togithub.com/rollup/rollup/issues/3710)) ##### Bug Fixes - Handle accessing `super` in static class fields ([#3720](https://togithub.com/rollup/rollup/issues/3720)) - Deconflict the names of helper variables introduced for interop ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Generate proper namespace objects for static namespace imports in non-ES formats ([#3710](https://togithub.com/rollup/rollup/issues/3710)) - Do not add unused interop helpers when using the renderDynamicImport hook ([#3710](https://togithub.com/rollup/rollup/issues/3710)) ##### Pull Requests - [#3710](https://togithub.com/rollup/rollup/pull/3710): Rework interop handling ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3720](https://togithub.com/rollup/rollup/pull/3720): Handle super in static class fields ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.23.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2231) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.23.0...v2.23.1) _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](https://togithub.com/rollup/rollup/issues/3709)) ##### Pull Requests - [#3709](https://togithub.com/rollup/rollup/pull/3709): Properly construct namespace when dynamically importing chunks with facades in default export mode ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.23.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2230) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.22.2...v2.23.0) _2020-07-23_ ##### Features - Handle environments with only globalThis in UMD output ([#3691](https://togithub.com/rollup/rollup/issues/3691)) ##### Pull Requests - [#3691](https://togithub.com/rollup/rollup/pull/3691): Check for globalThis in UMD wrapper ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.22.2`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2222) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.22.1...v2.22.2) _2020-07-21_ ##### Bug Fixes - Always generate correct exports when an implicit entry is reexporting from another module ([#3688](https://togithub.com/rollup/rollup/issues/3688)) ##### Pull Requests - [#3688](https://togithub.com/rollup/rollup/pull/3688): Include all relevant modules to generate reexports for implicit dependencies ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.22.1`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2221) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.22.0...v2.22.1) _2020-07-18_ ##### Bug Fixes - Remove unused arguments when calling a conditional expression ([#3680](https://togithub.com/rollup/rollup/issues/3680)) ##### Pull Requests - [#3680](https://togithub.com/rollup/rollup/pull/3680): Allow tree-shaking of arguments of functions that are returned by conditional expressions ([@lukastaegert](https://togithub.com/lukastaegert)) ### [`v2.22.0`](https://togithub.com/rollup/rollup/blob/master/CHANGELOG.md#2220) [Compare Source](https://togithub.com/rollup/rollup/compare/v2.21.0...v2.22.0) _2020-07-18_ ##### Features - Allow resolving synthetic named exports via an arbitrary export name ([#3657](https://togithub.com/rollup/rollup/issues/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](https://togithub.com/rollup/rollup/issues/3657)) ##### Pull Requests - [#3657](https://togithub.com/rollup/rollup/pull/3657): Add basic support for using a non-default export for syntheticNamedExports ([@lukastaegert](https://togithub.com/lukastaegert)) - [#3659](https://togithub.com/rollup/rollup/pull/3659): Warn when implicitly using default export mode ([@lukastaegert](https://togithub.com/lukastaegert))Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: 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.