kopia lustrzana https://github.com/cloudflare/wildebeest
28 wiersze
571 B
TypeScript
28 wiersze
571 B
TypeScript
|
import { defineConfig } from 'vite'
|
||
|
import { qwikVite } from '@builder.io/qwik/optimizer'
|
||
|
import { qwikCity } from '@builder.io/qwik-city/vite'
|
||
|
import tsconfigPaths from 'vite-tsconfig-paths'
|
||
|
|
||
|
export default defineConfig(() => {
|
||
|
return {
|
||
|
plugins: [
|
||
|
qwikCity({
|
||
|
trailingSlash: false,
|
||
|
}),
|
||
|
qwikVite(),
|
||
|
tsconfigPaths(),
|
||
|
],
|
||
|
build: { minify: false, sourcemap: true },
|
||
|
esbuild: {
|
||
|
minifySyntax: false,
|
||
|
minifyIdentifiers: false,
|
||
|
minifyWhitespace: false,
|
||
|
},
|
||
|
preview: {
|
||
|
headers: {
|
||
|
'Cache-Control': 'public, max-age=600',
|
||
|
},
|
||
|
},
|
||
|
}
|
||
|
})
|