Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions scripts/devtools/build-and-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ async function buildAndTestExtensions() {

async function buildAndTestStandalonePackage() {
const corePackagePath = join(ROOT_PATH, 'packages', 'react-devtools-core');
const corePackageDest = join(corePackagePath, 'dist');

await exec(`rm -rf ${corePackageDest}`);
const buildCorePromise = exec('yarn build', {cwd: corePackagePath});

await logger(
Expand Down Expand Up @@ -133,6 +136,9 @@ async function buildAndTestInlinePackage() {
'packages',
'react-devtools-inline'
);
const inlinePackageDest = join(inlinePackagePath, 'dist');

await exec(`rm -rf ${inlinePackageDest}`);
const buildPromise = exec('yarn build', {cwd: inlinePackagePath});

await logger(
Expand Down