Skip to content

Commit 8a98aef

Browse files
authoredFeb 25, 2023
feat: ignore list client injected sources (#12170)
1 parent 7110ddf commit 8a98aef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎packages/vite/rollup.config.ts

+6
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ const envConfig = defineConfig({
2929
sourcemapPathTransform(relativeSourcePath) {
3030
return path.basename(relativeSourcePath)
3131
},
32+
sourcemapIgnoreList() {
33+
return true
34+
},
3235
},
3336
})
3437

@@ -46,6 +49,9 @@ const clientConfig = defineConfig({
4649
sourcemapPathTransform(relativeSourcePath) {
4750
return path.basename(relativeSourcePath)
4851
},
52+
sourcemapIgnoreList() {
53+
return true
54+
},
4955
},
5056
})
5157

0 commit comments

Comments
 (0)
Please sign in to comment.