diff --git a/vite.config.ts b/vite.config.ts index c7bb2880..e724a454 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,5 @@ import { vitePlugin as remix } from '@remix-run/dev' import { sentryVitePlugin } from '@sentry/vite-plugin' -import { glob } from 'glob' import { flatRoutes } from 'remix-flat-routes' import { envOnlyMacros } from 'vite-env-only' import { type ViteUserConfig } from 'vitest/config' @@ -79,10 +78,10 @@ export default { }, }, sourcemaps: { - filesToDeleteAfterUpload: await glob([ + filesToDeleteAfterUpload: [ './build/**/*.map', '.server-build/**/*.map', - ]), + ], }, }) : null,