@rollup/rollup-linux-x64-gnu
Advanced tools
Changelog
4.1.0
2023-10-14
onLog
(@tjenkinson)Changelog
4.0.1
2023-10-06
Changelog
4.0.0
2023-10-05
@rollup/wasm-node
package that has the same interface as Rollup but relies on WASM artifacts (#5073)INVALID_IMPORT_ASSERTION
error code has been replaced with INVALID_IMPORT_ATTRIBUTE
(#5073)@__PURE__
and @__NO_SIDE_EFFECTS__
annotations in invalid locations (#5165)#!...
, this comment will be prepended to the output for es
and cjs
formats (#5163)RollupWarning
type has been removed in favor of the RollupLog
type (#5147)acornInjectPlugins
option has been removed (#5073)acorn
option has been removed (#5073)output.externalImportAssertions
has been deprecated in favor of output.externalImportAttributes
(#5073)inlineDynamicImports
, manualChunks
and preserveModules
have been removed on input option level: Please use the corresponding output options of the same names (#5143)output.experimentalDeepDynamicChunkOptimization
: This option is no longer needed as Rollup now always runs the full chunking algorithmoutput.dynamicImportFunction
: Use the renderDynamicImport
plugin hook insteadoutput.namespaceToStringTag
: Use output.generatedCode.symbols
insteadoutput.preferConst
: Use output.generatedCode.constBindings
insteadthis.resolve
, the default of the skipSelf
option is now true
(#5142)this.parse
now only supports the allowReturnOutsideFunction
option for now (#5073)load
hook of a plugin, rollup.watch
no longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for calling this.addWatchFile
for any dependency files (#5150)buildStart
and other hooks no longer contain an onwarn
handler; plugins should use onLog
instead (#5147)this.moduleIds
has been removed from the plugin context: Use this.getModuleIds()
instead (#5143)hasModuleSideEffects
flag has been removed from the ModuleInfo
returned by this.getModuleInfo()
: Use moduleSideEffects
on the ModuleInfo
instead (#5143)@__PURE__
and @__NO_SIDE_EFFECTS__
annotations in invalid locations (#5165)parseAst
(#5169)this.addWatchFile()
(#5150)