We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6549e05 commit 3def6abCopy full SHA for 3def6ab
packages/runtime/src/helpers/edge.ts
@@ -203,6 +203,7 @@ export const writeEdgeFunctions = async (netlifyConfig: NetlifyConfig) => {
203
const { publish } = netlifyConfig.build
204
const nextConfigFile = await getRequiredServerFiles(publish)
205
const nextConfig = nextConfigFile.config
206
+ await ensureDir(join(edgeFunctionRoot, 'edge-shared'))
207
await writeJSON(join(edgeFunctionRoot, 'edge-shared', 'nextConfig.json'), nextConfig)
208
209
if (!process.env.NEXT_DISABLE_EDGE_IMAGES) {
0 commit comments