mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 03:59:17 +00:00
24 lines
585 B
TypeScript
24 lines
585 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(),
|
|
qwikVite({
|
|
entryStrategy: {
|
|
type: 'single',
|
|
},
|
|
}),
|
|
tsconfigPaths(),
|
|
],
|
|
preview: {
|
|
headers: {
|
|
'Cache-Control': 'public, max-age=600',
|
|
},
|
|
},
|
|
}
|
|
})
|