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 67e63ff commit a10748fCopy full SHA for a10748f
src/build/functions/edge.ts
@@ -210,7 +210,7 @@ const copyHandlerDependenciesForNodeMiddleware = async (ctx: PluginContext) => {
210
211
const entry = 'server/middleware.js'
212
const nft = `${entry}.nft.json`
213
- const nftFilesPath = join(process.cwd(), ctx.distDir, nft)
+ const nftFilesPath = join(ctx.publishDir, nft)
214
const nftManifest = JSON.parse(await readFile(nftFilesPath, 'utf8'))
215
216
const files: string[] = nftManifest.files.map((file: string) => join('server', file))
0 commit comments