2024-10-17 14:29:49 +00:00
|
|
|
import { join, resolve } from 'path'
|
2024-08-09 10:10:58 +00:00
|
|
|
import { createAppConfig } from '@nextcloud/vite-config'
|
|
|
|
import { defineConfig } from 'vite'
|
|
|
|
|
2024-11-06 22:32:09 +00:00
|
|
|
const config = defineConfig({
|
2024-08-09 10:10:58 +00:00
|
|
|
build: {
|
2024-09-15 12:33:37 +00:00
|
|
|
sourcemap: false,
|
2024-08-09 10:10:58 +00:00
|
|
|
},
|
2024-11-06 22:32:09 +00:00
|
|
|
})
|
2024-08-09 10:10:58 +00:00
|
|
|
|
|
|
|
export default createAppConfig(
|
|
|
|
{
|
2024-10-17 14:29:49 +00:00
|
|
|
main: resolve(join('src', 'main.ts')),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
config,
|
|
|
|
createEmptyCSSEntryPoints: true,
|
|
|
|
thirdPartyLicense: false,
|
2024-08-09 10:10:58 +00:00
|
|
|
},
|
|
|
|
)
|