playwright/utils/build/clean.js

7 lines
198 B
JavaScript
Raw Normal View History

const { workspace } = require('../workspace');
2021-10-11 17:52:17 +03:00
const path = require('path');
const rimraf = require('rimraf');
for (const pkg of workspace.packages()) {
rimraf.sync(path.join(pkg.path, 'lib'));
}