This repository has been archived by the owner on May 31, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.79.1
->^3.20.2
Release Notes
rollup/rollup
v3.20.2
Compare Source
2023-03-24
Bug Fixes
Pull Requests
v3.20.1
Compare Source
2023-03-23
Bug Fixes
Pull Requests
v3.20.0
Compare Source
2023-03-20
Features
Bug Fixes
Pull Requests
v3.19.1
Compare Source
2023-03-10
Bug Fixes
Pull Requests
output.sanitizeFileName
section (@0x009922)v3.19.0
Compare Source
2023-03-09
Features
Pull Requests
npm run dev
(@lukastaegert)v3.18.0
Compare Source
2023-03-01
Features
experimentalLogSideEffects
to log the first detected side effect in every module (#4871)Pull Requests
node_modules
as ignore-listed by default (@bmeurer)v3.17.3
Compare Source
2023-02-25
Bug Fixes
Pull Requests
import.meta.url
in CommonJS (@fasttime)v3.17.2
Compare Source
2023-02-20
Bug Fixes
moduleSideEffects
set totrue
(#4867)needsCodeReference
property in TypeScript for asset tree-shaking (#4868)Pull Requests
needsCodeReference
property toEmittedAsset
(@sapphi-red)v3.17.1
Compare Source
2023-02-18
Bug Fixes
loadConfigFile
(#4853)moduleSideEffects: false
(#4866)Pull Requests
v3.17.0
Compare Source
2023-02-18
Features
experimentalDeepDynamicChunkOptimization
and always run the full chunk generation algorithm (#4862)Bug Fixes
experimentalDeepDynamicChunkOptimization
was enabled (#4862)Pull Requests
v3.16.0
Compare Source
2023-02-17
Features
output.sourcemapIgnoreList
option to mark file sources as ignored in thex_google_ignoreList
attribute of the resulting sourcemap (#4848)sourcesContent
containsnull
entries (#4846)true
for thecache
option to override Vite's default (#4859)Bug Fixes
experimentalMinChunkSize
option (#4851)Pull Requests
sourcemapIgnoreList
predicate. (@bmeurer)v3.15.0
Compare Source
2023-02-10
Features
Bug Fixes
Pull Requests
v3.14.0
Compare Source
2023-02-05
Features
experimentalDeepDynamicChunkOptimization
option to produce fewer chunks from dynamic imports (#4837)Pull Requests
v3.13.0
Compare Source
2023-02-03
Features
experimentalMinChunkSize
(#4723)Pull Requests
v3.12.1
Compare Source
2023-02-01
Bug Fixes
Pull Requests
v3.12.0
Compare Source
2023-01-28
Features
Pull Requests
v3.11.0
Compare Source
2023-01-26
Features
Bug Fixes
Pull Requests
v3.10.1
Compare Source
2023-01-20
Bug Fixes
Pull Requests
v3.10.0
Compare Source
2023-01-12
Features
Bug Fixes
Pull Requests
resolvedBy
field toResolvedId
(@TrickyPi)v3.9.1
Compare Source
2023-01-02
Bug Fixes
Pull Requests
v3.9.0
Compare Source
2022-12-28
Features
version
property to plugin type (#4771)Pull Requests
version
property to Plugin type (@Septh)v3.8.1
Compare Source
2022-12-23
Bug Fixes
cache: false
(#4762)Pull Requests
v3.8.0
Compare Source
2022-12-22
Features
Bug Fixes
Pull Requests
v3.7.5
Compare Source
2022-12-17
Bug Fixes
RollupWarning.cause
compatible withError.cause
(#4757)Pull Requests
stack
info in cli error (@TrickyPi)v3.7.4
Compare Source
2022-12-13
Bug Fixes
.exec
and.test
for included stateful regular expressions (#4742)Pull Requests
v3.7.3
Compare Source
2022-12-11
Bug Fixes
this.getFileName
no longer returns a placeholder as soon as hash placeholders have been resolved (#4747)Pull Requests
v3.7.2
Compare Source
2022-12-10
Bug Fixes
Pull Requests
v3.7.1
Compare Source
2022-12-09
Bug Fixes
Pull Requests
v3.7.0
Compare Source
2022-12-08
Features
.test
and.exec
on regular expressions as side effects (#4737)Pull Requests
v3.6.0
Compare Source
2022-12-05
Features
this.getModuleInfo
with information about exports (#4731)Pull Requests
exports
andexportedBindings
toModule
class (@TrickyPi)v3.5.1
Compare Source
2022-12-01
Bug Fixes
Pull Requests
v3.5.0
Compare Source
2022-11-27
Features
treeshake.manualPureFunctions
to override static analysis for explicit function names (#4718)Bug Fixes
this.load
without awaiting its result (#4725)Pull Requests
v3.4.0
Compare Source
2022-11-22
Features
Object.freeze
calls on object literals (#4720)Pull Requests
v3.3.0
Compare Source
2022-11-12
Features
Buffer
(#4712)Buffer
withstring
assets (#4712)Bug Fixes
perf: true
(#4707)Pull Requests
v3.2.5
Compare Source
2022-11-01
Bug Fixes
Pull Requests
v3.2.4
Compare Source
2022-10-31
Bug Fixes
import.meta.url
(#4693)Pull Requests
v3.2.3
Compare Source
2022-10-18
Bug Fixes
new.target
withimport.meta
(#4679)Pull Requests
v3.2.2
Compare Source
2022-10-16
Bug Fixes
Pull Requests
v3.2.1
Compare Source
2022-10-16
Bug Fixes
Pull Requests
v3.2.0
Compare Source
2022-10-15
Features
Pull Requests
v3.1.0
Compare Source
2022-10-12
Features
Pull Requests
v3.0.1
Compare Source
2022-10-12
Bug Fixes
Pull Requests
v3.0.0
Compare Source
2022-10-11
Breaking Changes
General Changes
@rollup/browser
(#4593)node:
prefix for imports of builtin modules (#4596)this.emitAsset()
: usethis.emitFile()
this.emitChunk()
: usethis.emitFile()
this.getAssetFileName()
: usethis.getFileName()
this.getChunkFileName()
: usethis.getFileName()
this.isExternal()
: usethis.resolve()
this.resolveId()
: usethis.resolve()
resolveAssetUrl
plugin hook has been removed: useresolveFileUrl
assetReferenceId
orchunkReferenceId
parameters toresolveFileUrl
treeshake.pureExternalModules
option has been removed: usetreeshake.moduleSideEffects: 'no-external'
true
orfalse
foroutput.interop
. As a replacement fortrue
, you can use "compat"isAsset
flag in the bundletype: "asset"
fieldinlineDynamicImports
as part of the input options: useoutput. inlineDynamicImports
manualChunks
as part of the input options: useoutput. manualChunks
maxParallelFileReads
: use `maxParallelFileOpsoutput.preferConst
: useoutput.generatedCode.constBindings
output.dynamicImportFunction
: use therenderDynamicImport
plugin hookoutput.namespaceToStringTag
: useoutput.generatedCode.symbols
preserveModules
as part of the input options: useoutput. preserveModules
this.moduleIds
in plugins: usethis.getModuleIds()
this.getModuleInfo(...).hasModuleSideEffects
in plugins: usethis.getModuleInfo(...).moduleSideEffects
--configPlugin
or the--bundleConfigAsCjs
options are used. The configuration is bundled to an ES module unless the--bundleConfigAsCjs
option is used. In all other cases, configuration is now loaded using Node's native mechanisms (#4574 and #4621)rollup/dist/*
can only be required using their file extension (#4581)loadConfigFile
helper now has a named export of the same name instead of a default export (#4581)string
(#4644)import(…)
in commonjs output unlessoutput.dynamicImportInCjs
is set to false (#4647)Changes to Rollup Options
output.banner/footer/intro/outro
are now called per-chunk, they should be careful to avoid performance-heavy operations (#4543)entryFileNames/chunkFileNames
functions now longer have access to the rendered module information viamodules
, only to a list of includedmoduleIds
(#4543)[name]
placeholder (as well as thechunkInfo.name
property when using a function) now includes the relative path of the chunk as well as optionally the file extension if the extension is not one of.js
,.jsx
,.mjs
,.cjs
,.ts
,.tsx
,.mts
, or.cts
(#4565)[ext]
,[extName]
and[assetExtName]
placeholders are no longer supported when preserving modules (#4565)perf
option no longer collects timings for the asynchronous part of plugin hooks as the readings were wildly inaccurate and very misleading, and timings are adapted to the new hashing algorithm (#4566)makeAbsoluteExternalsRelative
to "ifRelativeSource" so that absolute external imports will no longer become relative imports in the output, while relative external imports will still be renormalized (#4567)output.generatedCode.reservedNamesAsProps
to no longer quote properties likedefault
by default (#4568)preserveEntrySignatures
to "exports-only" so that by default, empty facades for entry chunks are no longer created (#4576)output.interop
to "default" to better align with NodeJS interop (#4611)output.esModule
to "if-default-prop", which only adds __esModule when the default export would be a property (#4611)output.systemNullSetters
totrue
, which requires at least SystemJS 6.3.3 (#4649)Plugin API Changes
renderChunk
should make sure to updateChunkInfo.imports/importedBindings/exports
accordingly (#4543)renderChunk
now contains names with hash placeholders instead of final names, which will be replaced when used in the returned code orChunkInfo.imports/importedBindings/exports
(#4543 and #4631)Features
output.banner/footer/intro/outro
are now called per-chunk with some chunk information (#4543)renderChunk
(#4543)entryFileNames
logic is used and the path is included in the[name]
property. This finally gives full control over file names when preserving modules (#4565)output.entryFileNames
now also supports the[hash]
placeholder when preserving modules (#4565)perf
option will now collect (synchronous) timings for all plugin hooks, not just a small selection (#4566)name: RollupError
now to make clearer that those are custom error types (#4579)generateBundle
and sourcemap files are available as regular assets (#4605)__esModule
marker to the bundle if there is a default export that is rendered as a property (#4611)foo[Symbol.toStringTag]
to "Module" if foo is a namespace (#4611)--bundleConfigAsCjs
which will force the configuration to be bundled to CommonJS (#4621)output.externalImportAssertions
option allows to turn off emission of import assertions (#4646)output.dynamicImportInCjs
to control if dynamic imports are emitted asimport(…)
or wrappedrequire(…)
when generating commonjs output (#4647)Bug Fixes
renderChunk
, e.g. minification, into account (#4543)Pull Requests
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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 Mend Renovate. View repository job log here.