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() {
9393
9494async function buildAndTestStandalonePackage ( ) {
9595 const corePackagePath = join ( ROOT_PATH , 'packages' , 'react-devtools-core' ) ;
96+ const corePackageDest = join ( corePackagePath , 'dist' ) ;
97+
98+ await exec ( `rm -rf ${ corePackageDest } ` ) ;
9699 const buildCorePromise = exec ( 'yarn build' , { cwd : corePackagePath } ) ;
97100
98101 await logger (
@@ -133,6 +136,9 @@ async function buildAndTestInlinePackage() {
133136 'packages' ,
134137 'react-devtools-inline'
135138 ) ;
139+ const inlinePackageDest = join ( inlinePackagePath , 'dist' ) ;
140+
141+ await exec ( `rm -rf ${ inlinePackageDest } ` ) ;
136142 const buildPromise = exec ( 'yarn build' , { cwd : inlinePackagePath } ) ;
137143
138144 await logger (
You can’t perform that action at this time.
0 commit comments