/**
 * Cleaner
 */
const gulp = require('gulp');
const del = require('del');

const config = require('./config');

gulp.task('clean', () => {
  const folderDelete = [config.root.dist];
  if (config.root.dist === './') {
    folderDelete.push('./assets', '*.html');
  }
  del.sync(folderDelete);
});

@@ -163,111 +163,214 @@
  = %5B
-config.root.dist%5D;%0A  if (config.root.dist === './') %7B%0A    folderDelete.push('./assets', '
+'js', 'css', 'img', 'svg', 'fonts'%5D.map(asset =%3E%0A    %60$%7Bconfig.root.dist%7D/$%7Bconfig%5Basset%5D.dist%7D%60%0A  );%0A%0A  if (config.html.run) %7B%0A    folderDelete.push(%60$%7Bconfig.root.dist%7D/$%7Bconfig.html.dist%7D/
 *.html
-'
+%60
 );%0A  %7D%0A
+%0A
   de
@@ -388,15 +388,39 @@
 erDelete
+, %7B%0A    force: true,%0A  %7D
 );%0A%7D);%0A

Fix clean tag to make possible clean in out folder