Skip to content

Commit

Permalink
Added "node:events" to external config for the functionsmap generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-schultz authored May 15, 2023
1 parent 0d9e155 commit 5277dc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buildApplication/generateFunctionsMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ async function processFuncDirectory(
platform: 'neutral',
outfile: newFilePath,
bundle: true,
external: ['node:buffer', `${relativeChunksPath}/*`],
external: ['node:buffer', `${relativeChunksPath}/*`, "node:events"],
minify: true,
plugins: [nodeBufferPlugin],
});
Expand Down Expand Up @@ -399,7 +399,7 @@ async function buildWebpackChunkFiles(
platform: 'neutral',
outfile: chunkFilePath,
bundle: true,
external: ['node:buffer'],
external: ['node:buffer', 'node:events'],
minify: true,
plugins: [nodeBufferPlugin],
});
Expand Down

0 comments on commit 5277dc5

Please sign in to comment.