Skip to content

Commit

Permalink
add sourcemaps for nodejs esm build
Browse files Browse the repository at this point in the history
  • Loading branch information
fpbrault committed Dec 2, 2024
1 parent cfd880f commit 9fe9882
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/headless/esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ const nodeEsm = Object.entries(useCaseEntries).map((entry) => {
{
entryPoints: [entryPoint],
outfile,
sourcemap: true,
format: 'esm',
external: ['pino'],
mainFields: ['module', 'main'],
Expand Down

0 comments on commit 9fe9882

Please sign in to comment.