Skip to content

Commit 7767b69

Browse files
authored
fix: ensure that the minified esm file is loaded from unpkg (#15)
1 parent 1cb984c commit 7767b69

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/lazy-ducks-promise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@magicbell/embeddable': patch
3+
---
4+
5+
ensure that the minified esm bundle is imported when importing from unpkg.

packages/embeddable/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"main": "dist/magicbell.min.js",
66
"esmodule": "dist/magicbell.esm.js",
77
"module": "dist/magicbell.esm.js",
8+
"unpkg": "dist/magicbell.esm.min.js",
89
"repository": "[email protected]:magicbell-io/embeddable-web.git",
910
"author": "MagicBell <[email protected]> (https://magicbell.com/)",
1011
"contributors": [

0 commit comments

Comments
 (0)