22 lines
No EOL
767 B
JavaScript
22 lines
No EOL
767 B
JavaScript
import { defineConfig } from 'astro/config';
|
||
import tailwind from '@astrojs/tailwind';
|
||
import playformCompress from '@playform/compress';
|
||
|
||
import compressor from 'astro-compressor';
|
||
import Sonda from 'sonda/astro';
|
||
|
||
import preact from '@astrojs/preact';
|
||
|
||
// https://astro.build/config
|
||
export default defineConfig({
|
||
vite: {
|
||
build: {
|
||
// Source maps go on the device's LittleFS otherwise — pure debug data the
|
||
// browser only fetches if devtools is open. Each .map adds ~30–300 KB to
|
||
// the flash image. Keep production builds map-free; if you need a map for
|
||
// debugging a specific build, flip to true temporarily.
|
||
sourcemap: false
|
||
}
|
||
},
|
||
integrations: [tailwind(), playformCompress(), compressor(), preact()],//Sonda()
|
||
}); |