Skip to content

Commit

Permalink
Remove legacy sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejewsky committed Sep 6, 2023
1 parent bf4df5d commit df2f410
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
},
"scripts": {
"dev": "vite --host",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=16384 vite build",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
"preview": "vite preview",
"build-storybook": "cross-env NODE_OPTIONS=--max-old-space-size=6144 storybook build -o build/storybook",
"build-types": "node scripts/build-types.js",
Expand Down
9 changes: 5 additions & 4 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,12 @@ export default defineConfig(({ command, mode }) => {
console.log("Enabling sentry...");

plugins.push(sentryVitePlugin({
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
org: "saleor", //process.env.SENTRY_ORG,
project: "dashboard",
authToken: "47be4df8118409f9e9bfeea7fcd38e4c7d6cc9d9e26520b779c6b49f3b364586",
debug: true,
sourcemaps: {
assets: ["./build/dashboard"],
assets: ["./build/dashboard/*"],
}
}))
}
Expand Down

0 comments on commit df2f410

Please sign in to comment.