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 182b683 commit b5a3269Copy full SHA for b5a3269
src/build/functions/edge.ts
@@ -218,7 +218,7 @@ export const createEdgeHandlers = async (ctx: PluginContext) => {
218
219
const fakeNodeModulePath = ctx.resolveFromPackagePath(join('node_modules', fakeNodeModuleName))
220
221
- const nftFilesPath = join(ctx.nextDistDir, nft)
+ const nftFilesPath = join(process.cwd(), ctx.nextDistDir, nft)
222
const nftManifest = JSON.parse(await readFile(nftFilesPath, 'utf8'))
223
224
const files: string[] = nftManifest.files.map((file: string) => join('server', file))
0 commit comments