OptionalassetCustomize the asset file names.
Similar to output.assetFileNames in rollup config,
but if returns undefined, then this config defaults is be used.
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
OptionalcssFilename of the css output when a single CSS file should be extracted (inlineCSS: false)
Note this only works with Vite 6.
OptionalDTSOptions for the Vite DTS plugin
This plugin allows to create .d.ts files for your library including the .vue files
Pass false to disable the plugin
OptionalinlineInject all styles inside the javascript bundle instead of emitting a .css file
OptionallibraryFormats you like your library to be built
OptionalminifyWhether to minify the output
OptionalnodeOptions for the rollup node externals plugin
By default all dependencies and peerDependencies are marked as external.
And node builtins prefix (node:) is stripped to make the library compatible with webpack and node-polyfill-webpack-plugin.
Note: If you use dependencies @nextcloud/vue/dist/Components/NcButton.js and what them to be externalized too,
you need to set an include pattern: { include: [ /^@nextcloud/vue/ ]}
OptionalnodeInject polyfills for node packages
OptionalreplaceStrings to replace within your code
OptionalthirdLocation of license summary file of third party dependencies
Pass false to disable generating a license file.
SPDX-FileCopyrightText: 2023 Ferdinand Thiessen opensource@fthiessen.de
SPDX-License-Identifier: AGPL-3.0-or-later