add exports.module field - yjs/yjs#438

This commit is contained in:
Kevin Jahns 2023-01-01 18:40:02 +01:00
parent f100613f41
commit e3c1a742dd

View file

@ -13,6 +13,7 @@
"url": "https://github.com/sponsors/dmonad" "url": "https://github.com/sponsors/dmonad"
}, },
"exports": { "exports": {
"module": "./src/y-webrtc.js",
"import": "./src/y-webrtc.js", "import": "./src/y-webrtc.js",
"require": "./dist/y-webrtc.cjs" "require": "./dist/y-webrtc.cjs"
}, },