Skip to content

Commit

Permalink
Fixes broken starlight (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsmeier authored Nov 28, 2024
1 parent 2a3ab89 commit 0f3c1ae
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,21 @@ export default defineConfig({
clientPrerender: true,
directRenderScript: true
},
outdir: "dist",
// Add the default astro outdir path
vite: {
server: {
watch: {
usePolling: true
}
},
resolve: {
alias: [{
find: /^.*\/Page\.astro$/,
replacement: fileURLToPath(new URL('./src/components/ui/starlight/Page.astro', import.meta.url))
}]
}
},
adapter: netlify({
functionPerRoute: true
})
Expand Down

0 comments on commit 0f3c1ae

Please sign in to comment.