We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 362d5dd commit 62c135dCopy full SHA for 62c135d
packages/runtime/src/helpers/edge.ts
@@ -177,11 +177,11 @@ export const writeDevEdgeFunction = async ({
177
const edgeFunctionRoot = resolve(INTERNAL_EDGE_FUNCTIONS_SRC)
178
await emptyDir(edgeFunctionRoot)
179
await writeJson(join(edgeFunctionRoot, 'manifest.json'), manifest)
180
+ await copy(getEdgeTemplatePath('../edge-shared'), join(edgeFunctionRoot, 'edge-shared'))
181
182
const edgeFunctionDir = join(edgeFunctionRoot, 'next-dev')
183
await ensureDir(edgeFunctionDir)
184
await copyEdgeSourceFile({ edgeFunctionDir, file: 'next-dev.js', target: 'index.js' })
- await copyEdgeSourceFile({ edgeFunctionDir, file: 'utils.ts' })
185
}
186
187
/**
0 commit comments