From e91abf3df3ccc486c590fd885174dd64b277583b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kiner-tang=28=E6=96=87=E8=BE=89=29?= <1127031143@qq.com> Date: Tue, 26 Sep 2023 14:40:51 +0800 Subject: [PATCH] Revert "chore: enable resolvePackageJsonExports (#45085)" (#45092) This reverts commit e85054879e34617f98c03c736ec3ce9737c3fb9e. --- package.json | 2 +- tsconfig.json | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 70b3a8556b..01e077dfa1 100644 --- a/package.json +++ b/package.json @@ -237,7 +237,7 @@ "fetch-jsonp": "^1.1.3", "fs-extra": "^11.0.0", "gh-pages": "^6.0.0", - "glob": "^10.3.7", + "glob": "10.3.6", "html2sketch": "^1.0.0", "http-server": "^14.0.0", "husky": "^8.0.1", diff --git a/tsconfig.json b/tsconfig.json index bfa157a5c7..d04de09c99 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ }, "strictNullChecks": true, "module": "esnext", - "moduleResolution": "Bundler", + "moduleResolution": "node", "esModuleInterop": true, "experimentalDecorators": true, "jsx": "react", @@ -22,8 +22,7 @@ "target": "es6", "lib": ["dom", "es2017"], "skipLibCheck": true, - "stripInternal": true, - "resolvePackageJsonExports": true + "stripInternal": true }, "include": [".dumirc.ts", "**/*"], "exclude": ["node_modules", "lib", "es"]