File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
packages/contentful--app-scripts/src Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -65,8 +65,6 @@ export async function activateBundle({
6565 currentDefinition
6666 ) ;
6767 } catch ( err : any ) {
68- activationSpinner . stop ( ) ;
69-
7068 let errorData : any ;
7169 try {
7270 errorData = JSON . parse ( err . message ) ;
@@ -106,6 +104,8 @@ export async function activateBundle({
106104 err ,
107105 'Something went wrong activating your bundle. Make sure you used the correct definition-id.'
108106 ) ;
107+ } finally {
108+ activationSpinner . stop ( ) ;
109109 }
110110
111111 console . log ( `
Original file line number Diff line number Diff line change @@ -121,8 +121,6 @@ export const resolveEsBuildConfig = (
121121 outdir : 'build' ,
122122 format : 'esm' ,
123123 target : 'es2022' ,
124- // platform: 'node',
125- // target: ['node20'],
126124 minify : options . minify ?? true ,
127125 define : {
128126 global : 'globalThis' ,
You can’t perform that action at this time.
0 commit comments