mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-17 19:26:23 +00:00
20 lines
560 B
TypeScript
20 lines
560 B
TypeScript
import { cloudflarePagesAdaptor } from '@builder.io/qwik-city/adaptors/cloudflare-pages/vite'
|
|
import { extendConfig } from '@builder.io/qwik-city/vite'
|
|
import baseConfig from '../../vite.config'
|
|
|
|
export default extendConfig(baseConfig, () => {
|
|
return {
|
|
build: {
|
|
ssr: true,
|
|
rollupOptions: {
|
|
input: ['src/entry.cloudflare-pages.tsx', '@qwik-city-plan'],
|
|
},
|
|
},
|
|
plugins: [
|
|
cloudflarePagesAdaptor({
|
|
staticGenerate: true,
|
|
}),
|
|
],
|
|
}
|
|
})
|