Skip to content

Commit b8e9b05

Browse files
fix: update enhanced-resolve to support new features for tsconfig.json (#20555)
1 parent 2019127 commit b8e9b05

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

.changeset/tidy-sails-cheat.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"webpack": patch
3+
---
4+
5+
Update `enhanced-resolve` to support new features for `tsconfig.json`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"acorn-import-phases": "^1.0.3",
9696
"browserslist": "^4.28.1",
9797
"chrome-trace-event": "^1.0.2",
98-
"enhanced-resolve": "^5.19.0",
98+
"enhanced-resolve": "^5.20.0",
9999
"es-module-lexer": "^2.0.0",
100100
"eslint-scope": "5.1.1",
101101
"events": "^3.2.0",

types.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18522,6 +18522,11 @@ declare interface TsconfigOptions {
1852218522
* References to other tsconfig files. 'auto' inherits from TypeScript config, or an array of relative/absolute paths
1852318523
*/
1852418524
references?: string[] | "auto";
18525+
18526+
/**
18527+
* Override baseUrl from tsconfig.json. If provided, this value will be used instead of the baseUrl in the tsconfig file
18528+
*/
18529+
baseUrl?: string;
1852518530
}
1852618531
declare interface TsconfigPathsData {
1852718532
/**

yarn.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3940,14 +3940,22 @@ encoding@^0.1.13:
39403940
dependencies:
39413941
iconv-lite "^0.6.2"
39423942

3943-
enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.1, enhanced-resolve@^5.19.0:
3943+
enhanced-resolve@^5.0.0, enhanced-resolve@^5.17.1:
39443944
version "5.19.0"
39453945
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.19.0.tgz#6687446a15e969eaa63c2fa2694510e17ae6d97c"
39463946
integrity sha512-phv3E1Xl4tQOShqSte26C7Fl84EwUdZsyOuSSk9qtAGyyQs2s3jJzComh+Abf4g187lUUAvH+H26omrqia2aGg==
39473947
dependencies:
39483948
graceful-fs "^4.2.4"
39493949
tapable "^2.3.0"
39503950

3951+
enhanced-resolve@^5.20.0:
3952+
version "5.20.0"
3953+
resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.20.0.tgz#323c2a70d2aa7fb4bdfd6d3c24dfc705c581295d"
3954+
integrity sha512-/ce7+jQ1PQ6rVXwe+jKEg5hW5ciicHwIQUagZkp6IufBoY3YDgdTTY1azVs0qoRgVmvsNB+rbjLJxDAeHHtwsQ==
3955+
dependencies:
3956+
graceful-fs "^4.2.4"
3957+
tapable "^2.3.0"
3958+
39513959
enquirer@^2.4.1:
39523960
version "2.4.1"
39533961
resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.4.1.tgz#93334b3fbd74fc7097b224ab4a8fb7e40bf4ae56"

0 commit comments

Comments
 (0)