expor multiple file
This commit is contained in:
parent
c0ab142fea
commit
a1f0342942
18
package.json
18
package.json
@ -2,12 +2,18 @@
|
|||||||
"name": "zutils",
|
"name": "zutils",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "./dist/index.js",
|
"exports": {
|
||||||
"module": "./dist/index.mjs",
|
".": {
|
||||||
"types": "./dist/index.d.ts",
|
"require": "./dist/index.js",
|
||||||
"files": [
|
"import": "./dist/index.js",
|
||||||
"dist"
|
"types": "./dist/index.d.ts"
|
||||||
],
|
},
|
||||||
|
"./common/ZError": {
|
||||||
|
"require": "./dist/common/ZError.js",
|
||||||
|
"import": "./dist/common/ZError.js",
|
||||||
|
"types": "./dist/common/ZError.d.ts"
|
||||||
|
}
|
||||||
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsup",
|
"build": "tsup",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user