adjust how types are exposed
This commit is contained in:
parent
deb7a32cf0
commit
0165f71750
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
/dist/
|
||||
/dist/*
|
||||
!/dist/*.d.ts
|
||||
/node_modules/
|
||||
/package-lock.json
|
||||
/pnpm-lock.yaml
|
||||
|
0
types/index.d.ts → dist/index.d.ts
vendored
0
types/index.d.ts → dist/index.d.ts
vendored
@ -11,17 +11,17 @@
|
||||
"exports": {
|
||||
".": {
|
||||
"import": "./dist/index.mjs",
|
||||
"require": "./dist/index.cjs"
|
||||
"require": "./dist/index.cjs",
|
||||
"types": "./dist/index.d.ts"
|
||||
},
|
||||
"./package.json": "./package.json"
|
||||
},
|
||||
"main": "./dist/index.cjs",
|
||||
"module": "./dist/index.mjs",
|
||||
"types": "types/index.d.ts",
|
||||
"types": "./dist/index.d.ts",
|
||||
"files": [
|
||||
"*.md",
|
||||
"dist",
|
||||
"types"
|
||||
"dist"
|
||||
],
|
||||
"engines": {
|
||||
"node": "^12.17 || >=13.10"
|
||||
|
Loading…
Reference in New Issue
Block a user