From 5fd9fb0e6fcdc61fb8a5fec06700cb1b826647d5 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Wed, 24 Mar 2021 08:25:46 -0400 Subject: [PATCH 1/2] Fixed an issue with the `webpack-dev-server` version `^4.0.0-beta.1` by moving the `overlay` config setting to `client` (https://github.com/nystudio107/craft/issues/54) --- buildchain/package.json | 2 +- buildchain/webpack-configs/dev-server.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/buildchain/package.json b/buildchain/package.json index 277ee24..28bfc5d 100644 --- a/buildchain/package.json +++ b/buildchain/package.json @@ -112,7 +112,7 @@ "webpack": "^5.13.0", "webpack-bundle-analyzer": "^4.3.0", "webpack-cli": "^4.3.0", - "webpack-dev-server": "^4.0.0-beta.0", + "webpack-dev-server": "^4.0.0-beta.1", "webpack-manifest-plugin": "^3.0.0", "webpack-merge": "^5.7.0", "workbox-webpack-plugin": "^6.0.0" diff --git a/buildchain/webpack-configs/dev-server.config.js b/buildchain/webpack-configs/dev-server.config.js index b919366..3234625 100644 --- a/buildchain/webpack-configs/dev-server.config.js +++ b/buildchain/webpack-configs/dev-server.config.js @@ -13,6 +13,7 @@ module.exports = (type = 'modern', settings) => { const common = () => ({ devServer: { client: { + overlay: true, progress: false, }, dev: { @@ -25,7 +26,6 @@ module.exports = (type = 'modern', settings) => { host: settings.host(), hot: true, https: !!parseInt(settings.https()), - overlay: true, port: settings.port(), public: settings.public(), static: { From 8cba7041e29ef5fc306940c996615e83782df0f8 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Wed, 24 Mar 2021 08:25:53 -0400 Subject: [PATCH 2/2] Version 2.4.28 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c64583..d5b1870 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # nystudio107/craft Change Log +## 2.4.28 - 2021.03.22 +### Fixed +* Fixed an issue with the `webpack-dev-server` version `^4.0.0-beta.1` by moving the `overlay` config setting to `client` (https://github.com/nystudio107/craft/issues/54) + ## 2.4.27 - 2021.03.22 ### Added * Added `make` command aliases