File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -93,6 +93,9 @@ async function buildAndTestExtensions() {
93
93
94
94
async function buildAndTestStandalonePackage ( ) {
95
95
const corePackagePath = join ( ROOT_PATH , 'packages' , 'react-devtools-core' ) ;
96
+ const corePackageDest = join ( corePackagePath , 'dist' ) ;
97
+
98
+ await exec ( `rm -rf ${ corePackageDest } ` ) ;
96
99
const buildCorePromise = exec ( 'yarn build' , { cwd : corePackagePath } ) ;
97
100
98
101
await logger (
@@ -133,6 +136,9 @@ async function buildAndTestInlinePackage() {
133
136
'packages' ,
134
137
'react-devtools-inline'
135
138
) ;
139
+ const inlinePackageDest = join ( inlinePackagePath , 'dist' ) ;
140
+
141
+ await exec ( `rm -rf ${ inlinePackageDest } ` ) ;
136
142
const buildPromise = exec ( 'yarn build' , { cwd : inlinePackagePath } ) ;
137
143
138
144
await logger (
You can’t perform that action at this time.
0 commit comments