File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
packages/solidstart/src/vite Expand file tree Collapse file tree 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';
99export const sentrySolidStartVite = ( options : SentrySolidStartPluginOptions = { } ) : Plugin [ ] => {
1010 const sentryPlugins : Plugin [ ] = [ ] ;
1111
12+ sentryPlugins . push ( makeBuildInstrumentationFilePlugin ( options ) ) ;
13+
1214 if ( process . env . NODE_ENV !== 'development' ) {
1315 if ( options . sourceMapsUploadOptions ?. enabled ?? true ) {
1416 sentryPlugins . push ( ...makeSourceMapsVitePlugin ( options ) ) ;
1517 }
1618 }
1719
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-
2620 return sentryPlugins ;
2721} ;
2822
You can’t perform that action at this time.
0 commit comments