retro/vite.config.ts

22 lines
402 B
TypeScript
Raw Normal View History

2024-12-26 21:15:05 +01:00
import { join, resolve } from 'path'
import { createAppConfig } from '@nextcloud/vite-config'
import { defineConfig } from 'vite'
const config = defineConfig({
build: {
sourcemap: false,
},
})
export default createAppConfig(
{
2025-01-03 22:50:29 +01:00
init: resolve(join('src', 'init.ts')),
2025-01-04 22:12:47 +01:00
main: resolve(join('src', 'main.ts')),
2024-12-26 21:15:05 +01:00
},
{
config,
createEmptyCSSEntryPoints: true,
thirdPartyLicense: false,
},
)