Skip to content

Commit 3def6ab

Browse files
committed
chore: ensure ef share dir exists
1 parent 6549e05 commit 3def6ab

File tree

1 file changed

+1
-0
lines changed
  • packages/runtime/src/helpers

1 file changed

+1
-0
lines changed

packages/runtime/src/helpers/edge.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ export const writeEdgeFunctions = async (netlifyConfig: NetlifyConfig) => {
203203
const { publish } = netlifyConfig.build
204204
const nextConfigFile = await getRequiredServerFiles(publish)
205205
const nextConfig = nextConfigFile.config
206+
await ensureDir(join(edgeFunctionRoot, 'edge-shared'))
206207
await writeJSON(join(edgeFunctionRoot, 'edge-shared', 'nextConfig.json'), nextConfig)
207208

208209
if (!process.env.NEXT_DISABLE_EDGE_IMAGES) {

0 commit comments

Comments
 (0)