Skip to content

Commit

Permalink
Update swc-defaults.ts to apply tsconfig source map options.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianzone committed Feb 5, 2024
1 parent 3ddd7a5 commit 5eddbea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/compiler/defaults/swc-defaults.ts
Expand Up @@ -12,6 +12,7 @@ export const swcDefaultsFactory = (

return {
swcOptions: {
sourceMaps: tsOptions?.sourceMap || (tsOptions?.inlineSourceMap && 'inline'),
module: {
type: 'commonjs',
},
Expand Down

0 comments on commit 5eddbea

Please sign in to comment.