Skip to content

Commit 16bd365

Browse files
authored
Update packages/integrations/netlify/src/integration-edge-functions.ts
1 parent 1b09037 commit 16bd365

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/integrations/netlify/src/integration-edge-functions.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export function netlifyEdgeFunctions({ dist }: NetlifyEdgeFunctionsOptions = {})
122122
build: {
123123
client: outDir,
124124
server: new URL('./.netlify/edge-functions/', config.root),
125+
// Netlify expects .js and will always interpret as ESM
125126
serverEntry: 'entry.js',
126127
},
127128
});

0 commit comments

Comments
 (0)