OptionalfinalizeOptionalfinalizehook to run after the package.json file is finalized, right before it is written to disk you can modify the .packageJson property of the context
Optionaljsrjsr-specific configuration
Optionalpluginsany additional vite plugins to be added after the fuman-build plugin
Optionalpluginsany additional vite plugins to be added before the fuman-build plugin
Optionalpreparehook to run before anything is done to the package.json file you can modify the .packageJson property of the context
this hook is called before vite build has started,
and as such .outDir is not available yet
Optionalshoulda predicate to determine if the entrypoint should be copied to the target directory as-is, without being processed by vite
name is the name of the entrypoint (e.g. ./foo.json)target is the target path (e.g. ./src/foo.json)the default implementation skips any non-javascript entrypoints, which is particularly useful for json and wasm files
Optionaltypedocpackage-specific configuration for typedoc
Optionalvitevite config to be merged into the base config
hook to run after the build is done, time to do any final modifications to the package contents