fix only empty slsDir

This commit is contained in:
Pooya Parsa 2020-11-05 22:24:36 +01:00
parent 9d02552c3c
commit 360bba7d80
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ export async function build (options: SLSOptions) {
await hooks.callHook('options', options)
emptyDir(options.targetDir)
emptyDir(options.slsDir)
options.rollupConfig = getRollupConfig(options)
await hooks.callHook('rollup:before', options)