File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/solidstart/src/config Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ import type {
9
9
SolidStartInlineConfigNitroHooks ,
10
10
} from './types' ;
11
11
12
+ /**
13
+ * Modifies the passed in Solid Start configuration with build-time enhancements such as
14
+ * building the `instrument.server.ts` file into the appropriate build folder based on
15
+ * build preset.
16
+ *
17
+ * @param solidStartConfig A Solid Start configuration object, as usually passed to `defineConfig` in `app.config.ts|js`
18
+ * @param sentrySolidStartConfigOptions Options to configure the plugin
19
+ * @returns The modified config to be exported and passed back into `defineConfig`
20
+ */
12
21
export const withSentry = (
13
22
solidStartConfig : SolidStartInlineConfig = { } ,
14
23
sentrySolidStartConfigOptions : SentrySolidStartConfigOptions = { } ,
You can’t perform that action at this time.
0 commit comments