fix only empty slsDir

This commit is contained in:
Pooya Parsa 2020-11-05 22:24:36 +01:00
parent 9d02552c3c
commit 360bba7d80

View File

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