clean.js 133 B

12345
  1. const del = require('del');
  2. del(['build/*']).then(paths => {
  3. console.log('Deleted files and folders:\n', paths.join('\n'));
  4. });