repod/vite.config.mjs
Michel Roux 989d5d38e1
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m9s
repod / release (push) Has been skipped
perf: improve build by removing sourcemaps
2024-08-09 10:10:58 +00:00

17 lines
258 B
JavaScript

import { createAppConfig } from '@nextcloud/vite-config'
import { defineConfig } from 'vite'
const config = defineConfig({
build: {
outDir: 'build',
sourcemap: false,
},
})
export default createAppConfig(
{
main: 'src/main.js',
},
{ config },
)