Skip to content

Commit b7c0701

Browse files
authored
fix: incorrect cjs path in package.json (#685)
Addresses https://sendbird.atlassian.net/browse/CLNP-442 Just fixed the incorrect path for common js module in pacakge.json.
1 parent 9dcf5e5 commit b7c0701

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"customer support",
2020
"API"
2121
],
22-
"main": "dist/index.js",
22+
"main": "dist/cjs/index.js",
2323
"style": "dist/index.css",
2424
"typings": "dist/index.d.ts",
2525
"module": "dist/index.js",

scripts/package.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"API"
2020
],
2121
"type": "module",
22-
"main": "index.js",
22+
"main": "dist/cjs/index.js",
2323
"style": "dist/index.css",
2424
"typings": "index.d.ts",
2525
"module": "index.js",

0 commit comments

Comments
 (0)