mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-22 05:20:10 +00:00
feat: ⚡ new portal web for qr scan
This commit is contained in:
23
packages/portal/vite.config.ts
Normal file
23
packages/portal/vite.config.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
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',
|
||||
},
|
||||
},
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user