chore(rspack): fix rspack e2e

This commit is contained in:
Colum Ferry 2024-09-11 10:24:19 +01:00
parent 6c032ab800
commit c544a34c2b

View File

@ -8,6 +8,7 @@ import {
uniq,
updateFile,
runCLI,
runCommand,
} from '@nx/e2e/utils';
import { execSync } from 'child_process';
import { writeFileSync } from 'fs';
@ -54,10 +55,9 @@ describe('rspack e2e', () => {
);
const pm = getPackageManagerCommand();
execSync(
runCommand(
pm.addDev +
' @babel/preset-react @babel/preset-env @babel/preset-typescript',
{ cwd: tmpProjPath() }
' @babel/preset-react @babel/preset-env @babel/preset-typescript'
);
let result = runCLI(`build ${project}`, {