Skip to content

Commit 162fbc3

Browse files
committed
update script
1 parent e661163 commit 162fbc3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/updatePackageJsonExports.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ const resultPackageJson = JSON.stringify({
4444
...packageJson,
4545
exports: {
4646
"./bundles/umd/package.json": "./bundles/umd/package.json",
47+
"./bundles/umd": {
48+
"require": "./bundles/umd/base.js",
49+
"import": "./bundles/umd/base.js"
50+
},
4751
"./package.json": "./package.json",
4852
...distSubDirectoriesObj,
4953
"./*": {

0 commit comments

Comments
 (0)