retro/vite.config.ts
Michel Roux c8d5e899f7
Some checks failed
retro / xml (push) Successful in 27s
retro / php (push) Failing after 1m15s
retro / nodejs (push) Failing after 1m40s
retro / release (push) Has been skipped
feat: 🌱 include script ok
2025-01-03 22:50:29 +01:00

22 lines
402 B
TypeScript

import { join, resolve } from 'path'
import { createAppConfig } from '@nextcloud/vite-config'
import { defineConfig } from 'vite'
const config = defineConfig({
build: {
sourcemap: false,
},
})
export default createAppConfig(
{
main: resolve(join('src', 'main.ts')),
init: resolve(join('src', 'init.ts')),
},
{
config,
createEmptyCSSEntryPoints: true,
thirdPartyLicense: false,
},
)