Skip to content

Commit

Permalink
fix(repo): rollup generated sourcemap has wrong src path (#12947)
Browse files Browse the repository at this point in the history
  • Loading branch information
HuiSF authored Feb 2, 2024
1 parent dc04ba1 commit 43a3f04
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rollup/common.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const cjsTSOptions = {
outDir: 'dist/cjs',
declaration: false, // declarations are handled by the ESM build
module: 'CommonJS',
sourceMap: false,
tsconfig: defaultTSConfigPath,
tsBuildInfoFile: 'dist/meta/cjs.tsbuildinfo',
noEmitOnError: !isWatch,
Expand All @@ -36,6 +37,7 @@ export const esmOutput = {

export const esmTSOptions = {
outDir: 'dist/esm',
sourceMap: false,
tsconfig: defaultTSConfigPath,
tsBuildInfoFile: 'dist/meta/cjs.tsbuildinfo',
noEmitOnError: !isWatch,
Expand Down

0 comments on commit 43a3f04

Please sign in to comment.