app_template/vite.config.ts
Michel Roux 62f793e748
All checks were successful
app_template / xml (push) Successful in 11s
app_template / php (push) Successful in 1m7s
app_template / nodejs (push) Successful in 1m1s
app_template / release (push) Has been skipped
make my own changes
2024-11-10 17:08:22 +01:00

21 lines
361 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')),
},
{
config,
createEmptyCSSEntryPoints: true,
thirdPartyLicense: false,
},
)