-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update webpack-dev-server from 3.11.1 to 4.0.0
We need to be able to conditionally set headers for pyodideWorker.js in pull request #893 but this feature isn’t supported in webpack-dev-server 3.x.x. We therefore need to upgrade to version 4.0.0 which allows a function to be provided in the headers option. I’ve tried to follow the migration guide here: https://github.com/webpack/webpack-dev-server/blob/master/migration-v4.md
- Loading branch information
Showing
11 changed files
with
37,476 additions
and
26,735 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.4.1.cjs | ||
|
||
checksumBehavior: "update" |
This file contains 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
This file contains 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
This file contains 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 |
---|---|---|
|
@@ -80,7 +80,7 @@ | |
"scripts": { | ||
"start": "node scripts/start.js", | ||
"build": "node scripts/build.js", | ||
"build:dev": "yarn install --force && yarn run build-storybook && node scripts/build.js", | ||
"build:dev": "yarn install --check-cache && yarn run build-storybook && node scripts/build.js", | ||
"build-storybook": "cd ./storybook && yarn install && yarn run build-storybook -- -o ../public/storybook --loglevel warn", | ||
"lint": "eslint \"src/**/*.{js,jsx,json}\"", | ||
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,json}\"", | ||
|
@@ -186,7 +186,7 @@ | |
"webgl-mock-threejs": "^0.0.1", | ||
"webpack": "4.44.2", | ||
"webpack-cli": "^4.9.2", | ||
"webpack-dev-server": "3.11.1", | ||
"webpack-dev-server": "4.0.0", | ||
"webpack-manifest-plugin": "2.2.0", | ||
"workbox-webpack-plugin": "5.1.4" | ||
}, | ||
|
@@ -246,5 +246,6 @@ | |
"jest-watch-typeahead/testname" | ||
], | ||
"resetMocks": true | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains 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
Oops, something went wrong.