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