Interface: BuildBundleOptions
Properties
deps?
optionaldeps?:VendoredDeps
Vendored pure-ESM packages.
entries?
optionalentries?: readonlystring[]
Entry modules. Default: every workflow source (see defaultEntries).
esbuild?
optionalesbuild?:EsbuildApi
maxBundleBytes?
optionalmaxBundleBytes?:number
Largest bundle, in UTF-8 bytes. Default 1.5 MiB (4 MiB with vendored deps).
maxGeneratedBytes?
optionalmaxGeneratedBytes?: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?
optionalmaxSourceBytes?: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?
optionalsourcemap?:"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.