Interface: LynxFilename
The names of the files emitted by the Lynx build engine.
Properties
bundle?
optionalbundle?:BundleFilename
The name of the bundle files.
Default Value
'[name].[platform].bundle'
Remarks
The following placeholders are supported:
[name]: the name of the entry.[platform]: the name of the Rsbuild environment.[contenthash]: the hash of the bundle content.
Examples
- Using content hash with length in bundle filename:
- Using a function to control the main bundle and the lazy bundles separately (e.g. emit lazy bundles into another directory with a git commit hash appended):