fix outDir default

This commit is contained in:
Pooya Parsa 2020-11-04 03:22:58 +01:00
parent bda5805b2d
commit 904f813ae9

View File

@ -71,7 +71,7 @@ async function main () {
// Target defaults
tryImport(__dirname, `./targets/${target.target}`) || tryImport(config.rootDir, target.target),
// Generic defaults
{ outDir: resolve(config.buildDir, `dist/${config.target}`), outName: 'index.js' }
{ outDir: resolve(config.buildDir, `dist/${target.target}`), outName: 'index.js' }
)
const hooks = new Hookable()