We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a54b0d0 commit 5936c4cCopy full SHA for 5936c4c
src/build/functions/server.ts
@@ -87,7 +87,7 @@ const writeHandlerManifest = async (ctx: PluginContext) => {
87
88
const writePackageMetadata = async (ctx: PluginContext) => {
89
await writeFile(
90
- join(ctx.serverHandlerRootDir, 'package.json'),
+ join(ctx.serverHandlerDir, '.netlify', 'package.json'),
91
JSON.stringify({ type: 'module' }),
92
)
93
}
0 commit comments