Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/fine-needles-send.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@astrojs/netlify': patch
---

Fix to let the integration respect the set AstroConfig.outDir
2 changes: 1 addition & 1 deletion packages/integrations/netlify/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ export default function netlifyIntegration(
rootDir = config.root;
await cleanFunctions();

outDir = new URL('./dist/', rootDir);
outDir = new URL(config.outDir, rootDir);

const enableImageCDN = isRunningInNetlify && (integrationConfig?.imageCDN ?? true);

Expand Down
Loading