playwright/utils/build/clean.js
Andrey Lushnikov 39ed705904
chore: unify workspace helper scripts (#11925)
This patch unifies a variety of different workspace
scripts into a single `//utils/workspace.js`.

Fixes #11362
2022-02-08 10:35:00 -08:00

7 lines
198 B
JavaScript

const { workspace } = require('../workspace');
const path = require('path');
const rimraf = require('rimraf');
for (const pkg of workspace.packages()) {
rimraf.sync(path.join(pkg.path, 'lib'));
}