OptionalappOptionalassetCustomize the asset file names.
Similar to output.assetFileNames in rollup config,
but if returns undefined, then this config defaults is be used.
OptionalassetsPrefix to use for assets and chunks
OptionalconfigVite config to override or extend the base config
OptionalcoreEnable and adjust settings for core-js polyfills
By default disabled as Nextcloud core already includes the core-js/stable polyfills globally
OptionalcreateWhen not using inline css and using cssCodeSplit this option allows to create
one CSS entry file for each JS entry point instead of only one for each JS entry point with styles.
OptionalemptyWhether to empty the 'js' directory
Pass false to disable clearing the directory,
it is also possible to pass options to the plugin.
OptionalextractExtract license information from built assets into .license files
This is needed to be REUSE complient
OptionalinlineInject all styles inside the javascript bundle instead of emitting a .css file
OptionalminifyWhether to minify the output
OptionalnodeInject polyfills for node packages
By default all node core modules are polyfilled, including prefixed with node: protocol
OptionalreplaceStrings to replace within your code
OptionalthirdLocation of license summary file of third party dependencies
Pass false to disable generating a license file.
Override the
appName, by default the name from theappinfo/info.xmland if not found the name frompackage.jsonis used. But if that name differs from the app id used for the Nextcloud app you need to override it.