From e3c1a742ddcacfc81df0a7ced8c919823d88842f Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Sun, 1 Jan 2023 18:40:02 +0100 Subject: [PATCH] add exports.module field - yjs/yjs#438 --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 095e754..a79fe7d 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "url": "https://github.com/sponsors/dmonad" }, "exports": { + "module": "./src/y-webrtc.js", "import": "./src/y-webrtc.js", "require": "./dist/y-webrtc.cjs" },