retro/vite.config.ts
Michel Roux 75f6656c38
All checks were successful
retro / xml (push) Successful in 22s
retro / php (push) Successful in 57s
retro / nodejs (push) Successful in 55s
retro / release (push) Has been skipped
feat: working prototype
2025-01-04 22:12:47 +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(
{
init: resolve(join('src', 'init.ts')),
main: resolve(join('src', 'main.ts')),
},
{
config,
createEmptyCSSEntryPoints: true,
thirdPartyLicense: false,
},
)