added exports in package json
This commit is contained in:
@@ -5,6 +5,13 @@
|
|||||||
"main": "dist/src/index.js",
|
"main": "dist/src/index.js",
|
||||||
"types": "dist/src/index.d.ts",
|
"types": "dist/src/index.d.ts",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"import": "./dist/src/index.js",
|
||||||
|
"require": "./dist/src/index.js",
|
||||||
|
"types": "./dist/src/index.d.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"build:watch": "tsc --watch",
|
"build:watch": "tsc --watch",
|
||||||
|
|||||||
Reference in New Issue
Block a user