mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-11 19:04:30 +00:00
rimraf before mkdirp
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user