Skip to content

Commit

Permalink
Discard changes to astro.config.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
delucis authored May 3, 2024
1 parent 5f20397 commit c9d1fac
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,20 +1,11 @@
import db from '@astrojs/db';
import tailwind from '@astrojs/tailwind';
import vercel from '@astrojs/vercel/serverless';
import webVitals from '@astrojs/web-vitals';
import { defineConfig } from 'astro/config';

import tailwind from "@astrojs/tailwind";

// https://astro.build/config
export default defineConfig({
site: process.env.VERCEL_ENV === 'production' ? 'https://astro.badg.es/' : process.env.VERCEL_URL ? `https://${process.env.VERCEL_URL}/` : 'http://localhost:4321/',
output: 'hybrid',
adapter: vercel(),
trailingSlash: 'always',
integrations: [
tailwind({ applyBaseStyles: false }),
db(),
webVitals(),
],
integrations: [tailwind({ applyBaseStyles: false })],
vite: {
ssr: { external: ['@resvg/resvg-js'] },
optimizeDeps: { exclude: ['@resvg/resvg-js'] },
Expand Down

0 comments on commit c9d1fac

Please sign in to comment.