Skip to content

Commit c2d1d3f

Browse files
committed
feat(core): enable inlineSourcesContent by default
1 parent 1008018 commit c2d1d3f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ function transformOption(path: string, options?: Options, jest = false): SwcOpti
5858
noInterop: !opts.esModuleInterop,
5959
},
6060
sourceMaps: typeof opts.sourcemap === 'undefined' ? true : opts.sourcemap,
61+
inlineSourcesContent: true,
6162
swcrc: false,
6263
...(options?.swc ?? {}),
6364
}

0 commit comments

Comments
 (0)