rimraf before mkdirp

This commit is contained in:
Rich Harris
2018-08-29 16:05:41 -04:00
parent 36fc8a947b
commit 99b096a5c4

View File

@@ -35,8 +35,8 @@ async function execute(emitter: EventEmitter, {
rollup = 'rollup',
routes = 'routes'
} = {}) {
mkdirp.sync(`${dest}/client`);
rimraf.sync(path.join(dest, '**/*'));
mkdirp.sync(`${dest}/client`);
copy_shimport(dest);
// minify app/template.html