Skip to content

Commit

Permalink
Temporarily removes sentry source map push
Browse files Browse the repository at this point in the history
  • Loading branch information
a-poor committed Jan 4, 2025
1 parent 8dd6c71 commit e4c7a25
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import tsconfigPaths from "vite-tsconfig-paths";
import yaml from 'js-yaml';
import Markdoc from '@markdoc/markdoc';
import readingTime from 'reading-time';
import { sentryVitePlugin } from "@sentry/vite-plugin";

function importBlogPostPlugin() {
const virtualModuleId = 'virtual:load-blog-posts';
Expand Down Expand Up @@ -66,7 +65,6 @@ function importBlogPostPlugin() {

export default defineConfig(({ isSsrBuild }) => ({
build: {
sourcemap: true,
rollupOptions: isSsrBuild
? {
input: "./workers/app.ts",
Expand Down Expand Up @@ -106,12 +104,5 @@ export default defineConfig(({ isSsrBuild }) => ({
importBlogPostPlugin(),
reactRouter(),
tsconfigPaths(),

// Keep this at the end
sentryVitePlugin({
authToken: process.env.SENTRY_AUTH_TOKEN,
org: "austinpoorcom",
project: "austinpoor-dot-com",
}),
],
}));

0 comments on commit e4c7a25

Please sign in to comment.