File tree 1 file changed +2
-8
lines changed
packages/solidstart/src/vite
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -9,20 +9,14 @@ import type { SentrySolidStartPluginOptions } from './types';
9
9
export const sentrySolidStartVite = ( options : SentrySolidStartPluginOptions = { } ) : Plugin [ ] => {
10
10
const sentryPlugins : Plugin [ ] = [ ] ;
11
11
12
+ sentryPlugins . push ( makeBuildInstrumentationFilePlugin ( options ) ) ;
13
+
12
14
if ( process . env . NODE_ENV !== 'development' ) {
13
15
if ( options . sourceMapsUploadOptions ?. enabled ?? true ) {
14
16
sentryPlugins . push ( ...makeSourceMapsVitePlugin ( options ) ) ;
15
17
}
16
18
}
17
19
18
- // TODO: Ensure this file is source mapped too.
19
- // Placing this after the sentry vite plugin means this
20
- // file won't get a sourcemap and won't have a debug id injected.
21
- // Because the file is just copied over to the output server
22
- // directory the release injection file from sentry vite plugin
23
- // wouldn't resolve correctly otherwise.
24
- sentryPlugins . push ( makeBuildInstrumentationFilePlugin ( options ) ) ;
25
-
26
20
return sentryPlugins ;
27
21
} ;
28
22
You can’t perform that action at this time.
0 commit comments