FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

chore: update webpack-dev-server to v6 and test against v5 and v6 by bjohansebas · Pull Request #4834 · webpack/webpack-cli · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .js  (1) .json  (2) .md  (1) .ts  (1) .webpack5  (5) .yml  (1) All 6 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
5 changes: 5 additions & 0 deletions .changeset/dev-server-6-types.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"webpack-cli": patch
---

fix: resolve the `webpack-dev-server` type from its default export, so the types work with both v5 and v6
6 changes: 5 additions & 1 deletion .github/workflows/nodejs.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [20.x, 22.x, 24.x, 25.x, 26.x]
webpack-version: [latest]
dev-server-version: [latest]
dev-server-version: [5, latest]

steps:
- name: Checkout code
Expand All @@ -85,6 +85,10 @@ jobs:
- name: Install dependencies
run: npm ci --ignore-scripts

- name: Install webpack-dev-server ${{ matrix.dev-server-version }}
if: matrix.dev-server-version == '5'
run: npm install webpack-dev-server@${{ matrix.dev-server-version }} --no-save --ignore-scripts

- name: Prepare environment for tests
run: npm run build -- --sourceMap true

Expand Down
Loading
Loading

Back | FazBrowse Home | New Git URL