Add `exports` keyword

This commit is contained in:
Franck Royer 2021-10-12 09:32:20 +11:00
parent b029692865
commit a335091ccf
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 4 additions and 0 deletions

View File

@ -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": [