2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

Fix commonjs & umd exports (#5030)

This commit is contained in:
Ivan Pepelko
2022-10-06 10:59:47 +02:00
committed by GitHub
parent a6e40c3bb2
commit 7a06a3616f
2 changed files with 3 additions and 5 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ export default async () => {
file: `dist/${outputFileName}`,
name,
format: "umd",
exports: "default",
exports: "named",
banner
}
}),
@@ -77,7 +77,7 @@ export default async () => {
file: `dist/node/${name}.cjs`,
format: "cjs",
preferConst: true,
exports: "default",
exports: "named",
banner
},
plugins: [