move artifacts to {buildDir}/sls

This commit is contained in:
Pooya Parsa 2020-11-04 19:19:34 +01:00
parent 114b5406ac
commit 425941d1b4

View File

@ -50,6 +50,9 @@ export function getTargetConfig (baseConfig, target) {
// Target defaults // Target defaults
_targetDefaults, _targetDefaults,
// Generic defaults // Generic defaults
{ outDir: resolve(baseConfig.buildDir, `dist/${target.target}`), outName: 'index.js' } {
outDir: resolve(baseConfig.buildDir, `sls/${target.target}`),
outName: 'index.js'
}
) )
} }