build: set cjs exports to named

This commit is contained in:
07akioni 2020-11-12 19:34:20 +08:00
parent dc643516f8
commit 8f6f0f9f5d

View File

@ -14,7 +14,7 @@ module.exports = {
{ {
format: 'cjs', format: 'cjs',
dir: 'lib', dir: 'lib',
exports: 'auto', exports: 'named',
preserveModules: true preserveModules: true
}, },
{ {