Skip to content

Commit d0a8d10

Browse files
authored
Merge pull request #486 from cloudinary/fix/umd-broken-export
2 parents 06c614a + 162fbc3 commit d0a8d10

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)