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 308acfeCopy full SHA for 308acfe
src/build/functions/edge.ts
@@ -218,7 +218,8 @@ 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
+ console.log({ nftFilesPath, nextDistDir: ctx.nextDistDir })
223
const nftManifest = JSON.parse(await readFile(nftFilesPath, 'utf8'))
224
225
const files: string[] = nftManifest.files.map((file: string) => join('server', file))
0 commit comments