Skip to content

Commit b854435

Browse files
committed
remove glob for source maps
sentry already uses a glob, and if you glob before generating the source maps, they will not be deleted, because they did not exist at the time of the glob
1 parent 8c71548 commit b854435

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ export default {
7979
},
8080
},
8181
sourcemaps: {
82-
filesToDeleteAfterUpload: await glob([
82+
filesToDeleteAfterUpload: [
8383
'./build/**/*.map',
8484
'.server-build/**/*.map',
85-
]),
85+
],
8686
},
8787
})
8888
: null,

0 commit comments

Comments
 (0)