Skip to content

Commit 4fdec78

Browse files
authored
Merge pull request #26 from web-infra-dev/h-a-n-a-patch-1
feat: enable sourcemaps of `builtin:swc-loader` for arco-pro
2 parents d5a85cd + 7675bc2 commit 4fdec78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cases/arco-pro/rspack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ module.exports = {
160160
loader: "builtin:swc-loader",
161161
exclude: [/[\\/]node_modules[\\/]/],
162162
options: {
163+
sourceMaps: true,
163164
jsc: {
164165
parser: {
165166
syntax: "typescript",

0 commit comments

Comments
 (0)