mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
15 lines
231 B
JavaScript
15 lines
231 B
JavaScript
const fs = require('fs-extra');
|
|
const path = require('path');
|
|
|
|
|
|
const cleanDirs = [
|
|
'dist',
|
|
'css',
|
|
'.stencil'
|
|
];
|
|
|
|
cleanDirs.forEach(dir => {
|
|
const cleanDir = path.join(__dirname, '../', dir);
|
|
fs.removeSync(cleanDir);
|
|
});
|