From a335091ccf865db4d66136dcb305a27ba2362080 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Tue, 12 Oct 2021 09:32:20 +1100 Subject: [PATCH] Add `exports` keyword --- package.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package.json b/package.json index 9ddced7a8f..03fbf42119 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,10 @@ "main": "build/main/index.js", "typings": "build/main/index.d.ts", "module": "build/esm/index.js", + "exports": { + "require": "./build/main/index.js", + "import": "./build/esm/index.js" + }, "repository": "https://github.com/status-im/js-waku", "license": "MIT OR Apache-2.0", "keywords": [