Skip to content

Commit

Permalink
feat(electron-renderer): optimizer sourcemap by default #70
Browse files Browse the repository at this point in the history
  • Loading branch information
caoxiemeihao committed Nov 8, 2022
1 parent aafd5de commit abbfd24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/electron-renderer/src/optimizer.ts
Expand Up @@ -151,6 +151,7 @@ async function esmBundling(args: {
target: 'node14',
format: 'cjs',
bundle: true,
sourcemap: true,
external: [
...builtinModules,
...builtinModules.map(mod => `node:${mod}`),
Expand Down

0 comments on commit abbfd24

Please sign in to comment.