chore: enable resolvePackageJsonExports (#45085)

* chore: enable resolvePackageJsonExports

* Update package.json

Co-authored-by: Amumu <yoyo837@hotmail.com>
Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>

---------

Signed-off-by: kiner-tang(文辉) <1127031143@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
This commit is contained in:
kiner-tang(文辉) 2023-09-26 11:39:04 +08:00 committed by GitHub
parent 3e70e3175b
commit e85054879e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -237,7 +237,7 @@
"fetch-jsonp": "^1.1.3",
"fs-extra": "^11.0.0",
"gh-pages": "^6.0.0",
"glob": "10.3.6",
"glob": "^10.3.7",
"html2sketch": "^1.0.0",
"http-server": "^14.0.0",
"husky": "^8.0.1",

View File

@ -10,7 +10,7 @@
},
"strictNullChecks": true,
"module": "esnext",
"moduleResolution": "node",
"moduleResolution": "Bundler",
"esModuleInterop": true,
"experimentalDecorators": true,
"jsx": "react",
@ -22,7 +22,8 @@
"target": "es6",
"lib": ["dom", "es2017"],
"skipLibCheck": true,
"stripInternal": true
"stripInternal": true,
"resolvePackageJsonExports": true
},
"include": [".dumirc.ts", "**/*"],
"exclude": ["node_modules", "lib", "es"]