mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-21 14:55:04 +00:00
rimraf before mkdirp
This commit is contained in:
@@ -35,8 +35,8 @@ async function execute(emitter: EventEmitter, {
|
|||||||
rollup = 'rollup',
|
rollup = 'rollup',
|
||||||
routes = 'routes'
|
routes = 'routes'
|
||||||
} = {}) {
|
} = {}) {
|
||||||
mkdirp.sync(`${dest}/client`);
|
|
||||||
rimraf.sync(path.join(dest, '**/*'));
|
rimraf.sync(path.join(dest, '**/*'));
|
||||||
|
mkdirp.sync(`${dest}/client`);
|
||||||
copy_shimport(dest);
|
copy_shimport(dest);
|
||||||
|
|
||||||
// minify app/template.html
|
// minify app/template.html
|
||||||
|
|||||||
Reference in New Issue
Block a user