Files
nextcloud-tasks/vite.config.mjs
Raimund Schlüßler f0e9c1bf7b fix: also inline nextcloud/dialogs
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-06-03 09:56:36 +02:00

26 lines
537 B
JavaScript

import { createAppConfig } from '@nextcloud/vite-config'
import { resolve } from 'node:path'
export default createAppConfig({
main: 'src/main.js',
dashboard: 'src/dashboard.js',
talk: 'src/talk.js',
}, {
config: {
test: {
coverage: {
include: ['src/**'],
provider: 'istanbul',
reporter: ['lcov', 'text'],
},
environment: 'happy-dom',
setupFiles: resolve(__dirname, './tests/javascript/unit/setup.js'),
server: {
deps: {
inline: ['@nextcloud/vue', '@nextcloud/dialogs'],
}
},
},
}
})