mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 11:39:15 +00:00
21 lines
608 B
TypeScript
21 lines
608 B
TypeScript
import { netifyEdgeAdaptor } from '@builder.io/qwik-city/adaptors/netlify-edge/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.netlify-edge.tsx', '@qwik-city-plan'],
|
|
},
|
|
outDir: '.netlify/edge-functions/entry.netlify-edge',
|
|
},
|
|
plugins: [
|
|
netifyEdgeAdaptor({
|
|
staticGenerate: true,
|
|
}),
|
|
],
|
|
}
|
|
})
|