mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 17:42:15 +08:00
13 lines
218 B
JavaScript
13 lines
218 B
JavaScript
const fs = require('fs-extra');
|
|
const path = require('path');
|
|
|
|
const ROOT_DIR = path.join(__dirname, '..');
|
|
|
|
const cleanDirs = [
|
|
path.join(ROOT_DIR, 'dist')
|
|
];
|
|
|
|
cleanDirs.forEach(dir => {
|
|
fs.emptyDirSync(dir);
|
|
});
|