Skip to content

Commit 8465fa4

Browse files
feat: widen webpack peer support
Agent-Logs-Url: https://github.com/TypeStrong/ts-loader/sessions/74b74f2d-76ad-4022-9635-77d0c5acce76 Co-authored-by: johnnyreilly <1010525+johnnyreilly@users.noreply.github.com>
1 parent e714be1 commit 8465fa4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,10 @@ If you'd like to see a simple setup take a look at [our example](examples/fork-t
133133
### Compatibility
134134

135135
* TypeScript: 3.6.3+
136-
* webpack: 5.x+ (please use `ts-loader` 8.x if you need webpack 4 support)
136+
* webpack: 4.x+ and 5.x+
137137
* node: 12.x+
138138

139-
A full test suite runs each night (and on each pull request). It runs both on Linux and Windows, testing `ts-loader` against major releases of TypeScript. The test suite also runs against TypeScript@next (because we want to use it as much as you do).
139+
A full test suite runs each night (and on each pull request). It runs both on Linux and Windows, testing `ts-loader` against major releases of TypeScript. Execution tests continue to run against webpack 5 in CI, and the test suite also runs against TypeScript@next (because we want to use it as much as you do).
140140

141141
If you become aware of issues not caught by the test suite then please let us know. Better yet, write a test and submit it in a PR!
142142

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
},
100100
"peerDependencies": {
101101
"typescript": "*",
102-
"webpack": "^5.0.0"
102+
"webpack": "^4.0.0 || ^5.0.0"
103103
},
104104
"publishConfig": {
105105
"provenance": true

0 commit comments

Comments
 (0)