Skip to main content

Interface: BuildBundleOptions

Properties​

deps?​

optional deps?: VendoredDeps

Vendored pure-ESM packages.


entries?​

optional entries?: readonly string[]

Entry modules. Default: every workflow source (see defaultEntries).


esbuild?​

optional esbuild?: EsbuildApi


maxBundleBytes?​

optional maxBundleBytes?: number

Largest bundle, in UTF-8 bytes. Default 1.5 MiB (4 MiB with vendored deps).


maxGeneratedBytes?​

optional maxGeneratedBytes?: number

Largest total size of the generated files under .fluidgrids/ (the typed node clients fluidgrids codegen writes from the workspace registry), in UTF-8 bytes. They grow with the registry, not with the project, so they have their own budget. Default 16 MiB.


maxSourceBytes?​

optional maxSourceBytes?: number

Largest total size of the project sources a person writes, in UTF-8 bytes: every file outside the generated .fluidgrids/ directory. Default 1 MiB.


sourcemap?​

optional sourcemap?: "external"

external also returns a source map of the bundle (C-SOURCEMAP) in map. The bundle bytes, and so buildId, are the same as without it: no sourceMappingURL comment is added.