repod/vite.config.ts

21 lines
361 B
TypeScript
Raw Permalink Normal View History

2024-10-17 14:29:49 +00: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(
{
2024-10-17 14:29:49 +00:00
main: resolve(join('src', 'main.ts')),
},
{
config,
createEmptyCSSEntryPoints: true,
thirdPartyLicense: false,
},
)