chore: fix warning about exports=auto (#37)

This commit is contained in:
Nolan Lawson 2020-08-16 20:57:11 -07:00 committed by GitHub
parent 64bc3d0583
commit f083ace332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -96,7 +96,8 @@ export default entryPoints.map(({ input, output, format = 'es', external = [] })
output: {
format,
file: output,
sourcemap: dev
sourcemap: dev,
exports: 'auto'
}
}
res.external = [...res.external, ...external]