12
12
13
13
This SDK is considered ⚠️ ** experimental and in an alpha state** . It may experience breaking changes. Please reach out
14
14
on [ GitHub] ( https://github.com/getsentry/sentry-javascript/issues/new/choose ) if you have any feedback or concerns. This
15
- SDK is for [ Solid Start] ( https://start.solidjs.com/ ) . If you're using [ Solid] ( https://www.solidjs.com/ ) see our Solid
16
- SDK here.
15
+ SDK is for [ Solid Start] ( https://start.solidjs.com/ ) . If you're using [ Solid] ( https://www.solidjs.com/ ) see our
16
+ [ Solid SDK here] ( https://github.com/getsentry/sentry-javascript/tree/develop/packages/solid ) .
17
17
18
18
## Links
19
19
@@ -58,7 +58,7 @@ mount(() => <StartClient />, document.getElementById('app'));
58
58
59
59
### 3. Server-side Setup
60
60
61
- Create an instrumentation file named ` instrument.server.mjs ` and add your initialization code for the server-side SDK.
61
+ Create an instrument file named ` instrument.server.mjs ` and add your initialization code for the server-side SDK.
62
62
63
63
``` javascript
64
64
import * as Sentry from ' @sentry/solidstart' ;
@@ -76,7 +76,7 @@ Then run your app
76
76
``` bash
77
77
NODE_OPTIONS=' --import=./instrument.server.mjs' yarn start
78
78
# or
79
- NODE_OPTIONS=' --require=./instrument.server.cjs ' yarn start
79
+ NODE_OPTIONS=' --require=./instrument.server.js ' yarn start
80
80
```
81
81
82
82
# Solid Router
@@ -88,7 +88,7 @@ Wrap `Router`, `MemoryRouter` or `HashRouter` from `@solidjs/router` using `with
88
88
higher order component, which will enable Sentry to reach your router context.
89
89
90
90
``` js
91
- import { withSentryRouterRouting } from ' @sentry/solid /solidrouter' ;
91
+ import { withSentryRouterRouting } from ' @sentry/solidstart /solidrouter' ;
92
92
import { Route , Router } from ' @solidjs/router' ;
93
93
94
94
const SentryRouter = Sentry .withSentryRouterRouting (Router);
0 commit comments