File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,14 @@ export const sentryAstro = (options: SentryOptions = {}): AstroIntegration => {
7979 assets : uploadOptions . assets ?? [ getSourcemapsAssetsGlob ( config ) ] ,
8080 filesToDeleteAfterUpload :
8181 uploadOptions ?. filesToDeleteAfterUpload ?? updatedFilesToDeleteAfterUpload ,
82- ...unstable_sentryVitePluginOptions ?. sourcemaps
82+ ...unstable_sentryVitePluginOptions ?. sourcemaps ,
8383 } ,
8484 bundleSizeOptimizations : {
8585 ...options . bundleSizeOptimizations ,
8686 // TODO: with a future version of the vite plugin (probably 2.22.0) this re-mapping is not needed anymore
8787 // ref: https://github.com/getsentry/sentry-javascript-bundler-plugins/pull/582
8888 excludePerformanceMonitoring : options . bundleSizeOptimizations ?. excludeTracing ,
89- ...unstable_sentryVitePluginOptions ?. bundleSizeOptimizations
89+ ...unstable_sentryVitePluginOptions ?. bundleSizeOptimizations ,
9090 } ,
9191 } ) ,
9292 ) ,
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ type SourceMapsOptions = {
9797 *
9898 * Furthermore, some options are untested with Astro specifically. Use with caution.
9999 */
100- unstable_sentryVitePluginOptions ?: Partial < SentryVitePluginOptions >
100+ unstable_sentryVitePluginOptions ?: Partial < SentryVitePluginOptions > ;
101101} ;
102102
103103type BundleSizeOptimizationOptions = {
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ describe('sentryAstro integration', () => {
205205 it ( 'prefers user-specified unstable vite plugin options and merges them with default values' , async ( ) => {
206206 const integration = sentryAstro ( {
207207 bundleSizeOptimizations : {
208- excludeReplayShadowDom : true
208+ excludeReplayShadowDom : true ,
209209 } ,
210210 sourceMapsUploadOptions : {
211211 enabled : true ,
@@ -221,9 +221,9 @@ describe('sentryAstro integration', () => {
221221 ignore : [ 'bar/*.js' ] ,
222222 } ,
223223 bundleSizeOptimizations : {
224- excludeReplayIframe : true
225- }
226- }
224+ excludeReplayIframe : true ,
225+ } ,
226+ } ,
227227 } ,
228228 } ) ;
229229 // @ts -expect-error - the hook exists, and we only need to pass what we actually use
@@ -249,8 +249,8 @@ describe('sentryAstro integration', () => {
249249 } ,
250250 bundleSizeOptimizations : {
251251 excludeReplayShadowDom : true ,
252- excludeReplayIframe : true
253- }
252+ excludeReplayIframe : true ,
253+ } ,
254254 } ) ,
255255 ) ;
256256 } ) ;
You can’t perform that action at this time.
0 commit comments