Skip to content

Commit

Permalink
Netlify: Fix missing adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans committed Sep 6, 2024
1 parent d14c7d7 commit d1a4178
Show file tree
Hide file tree
Showing 3 changed files with 1,104 additions and 17 deletions.
3 changes: 2 additions & 1 deletion astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import mdx from '@astrojs/mdx'
import netlify from '@astrojs/netlify'
import react from '@astrojs/react'
import sitemap from '@astrojs/sitemap'
import tailwind from '@astrojs/tailwind'
Expand Down Expand Up @@ -30,7 +31,7 @@ export default defineConfig({
// Using static makes sure features like Astros redirecting work as expected.
// Docs https://docs.astro.build/en/basics/rendering-modes/
output: ASTRO_OUTPUT_MODE,
// adapter: ASTRO_USE_NETLIFY_ADAPTER === 'true' ? netlify() : undefined,
adapter: ASTRO_USE_NETLIFY_ADAPTER === 'true' ? netlify() : undefined,
integrations: [
tailwind({
// https://github.com/withastro/astro/tree/main/packages/integrations/tailwind#applybasestyles
Expand Down
Loading

0 comments on commit d1a4178

Please sign in to comment.