mirror of
https://github.com/hanzo-app/qwik-ts-template.git
synced 2026-10-30 19:25:58 +00:00
20 lines
484 B
TypeScript
20 lines
484 B
TypeScript
import { staticAdapter } from '@builder.io/qwik-city/adapters/static/vite';
|
|
import { extendConfig } from '@builder.io/qwik-city/vite';
|
|
import baseConfig from '../../vite.config';
|
|
|
|
export default extendConfig(baseConfig, () => {
|
|
return {
|
|
build: {
|
|
ssr: true,
|
|
rollupOptions: {
|
|
input: ['@qwik-city-plan'],
|
|
},
|
|
},
|
|
plugins: [
|
|
staticAdapter({
|
|
origin: process.env.HANZO_DEPLOY_URL || 'https://yoursite.qwik.dev',
|
|
}),
|
|
],
|
|
};
|
|
});
|