Skip to content

Commit

Permalink
remove glob for source maps
Browse files Browse the repository at this point in the history
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
  • Loading branch information
zwhitchcox committed Dec 17, 2024
1 parent 8c71548 commit b854435
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ export default {
},
},
sourcemaps: {
filesToDeleteAfterUpload: await glob([
filesToDeleteAfterUpload: [
'./build/**/*.map',
'.server-build/**/*.map',
]),
],
},
})
: null,
Expand Down

0 comments on commit b854435

Please sign in to comment.