Skip to content

Commit

Permalink
try shimming out tracing exports
Browse files Browse the repository at this point in the history
  • Loading branch information
AbhiPrasad committed Feb 22, 2024
1 parent d36a78e commit 2cec277
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@
"@types/node": "18.15.1",
"typescript": "4.9.5"
},
"pnpm": {
"overrides": {
"@sentry/node": "latest || *",
"@sentry/tracing": "file:./tracing-shim.js"
}
},
"devDependencies": {
"ts-node": "10.9.1"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// TODO(v8): Remove this file once we get rid of tracing dependency from sveltekit vite plugin
// This file is used as a shim for @sentry/tracing
module.exports = {};
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
},
"pnpm": {
"overrides": {
"@sentry/node": "latest || *"
"@sentry/node": "latest || *",
"@sentry/tracing": "file:./tracing-shim.js"
}
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// TODO(v8): Remove this file once we get rid of tracing dependency from sveltekit vite plugin
// This file is used as a shim for @sentry/tracing
module.exports = {};
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
},
"pnpm": {
"overrides": {
"@sentry/node": "latest || *"
"@sentry/node": "latest || *",
"@sentry/tracing": "file:./tracing-shim.js"
}
},
"type": "module"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// TODO(v8): Remove this file once we get rid of tracing dependency from sveltekit vite plugin
// This file is used as a shim for @sentry/tracing
module.exports = {};

0 comments on commit 2cec277

Please sign in to comment.