chore(exports): allow imports of specific paths (#6367)

This commit is contained in:
Mestery
2021-08-12 16:10:38 +02:00
committed by GitHub
parent dce8fc7b9d
commit bbda3c4beb

View File

@@ -10,8 +10,11 @@
"typings"
],
"exports": {
"require": "./src/index.js",
"import": "./src/index.mjs"
"./*": "./*",
".": {
"require": "./src/index.js",
"import": "./src/index.mjs"
}
},
"scripts": {
"test": "npm run lint && npm run docs:test && npm run lint:typings",