Overwrite directory

pull/186/head
Cory LaViska 2020-08-18 17:39:01 -04:00
rodzic 94f2327f91
commit 1fe5c6b4ec
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ const del = require('del');
console.log(chalk.cyan('Creating docs distribution 📚\n'));
await del('./docs/dist');
await copy('./dist', './docs/dist');
await copy('./themes', './docs/themes');
await copy('./themes', './docs/themes', { overwrite: true });
} catch (err) {
console.error(err);
}