// @ts-check
import { defineConfig } from 'astro/config'
import solidJs from '@astrojs/solid-js'
import compressor from 'astro-compressor'
import robotsTxt from '@itsmatteomanf/astro-robots-txt'

export default defineConfig({
  prefetch: true,
  integrations: [solidJs(), compressor({ gzip: false, brotli: true }), robotsTxt()],
  vite: {
    css: {
      transformer: 'lightningcss',
    },
  },
  build: {
    assets: '_fwt',
  },
  site: 'http://localhost:8080',
})
