We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1db2c7c commit e0276ceCopy full SHA for e0276ce
1 file changed
astro.config.mjs
@@ -34,14 +34,11 @@ export default defineConfig({
34
},
35
36
integrations: [svelte()],
37
- output: 'server', //PREVIEW ? 'server' : 'static',
+ output: PREVIEW ? 'server' : 'static',
38
server: ({ command }) => ({ port: command === 'dev' ? 5173 : 4321 }),
39
trailingSlash: 'never',
40
41
vite: {
42
- define: {
43
- 'process.env': process.env,
44
- },
45
plugins: [tailwindcss()],
46
47
});
0 commit comments