From 6509803f5b0685cef38acf8d38b88c949eea9097 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Tue, 2 Feb 2021 20:10:34 -0500 Subject: [PATCH 1/2] =?UTF-8?q?Fix=20setting=20that=E2=80=99d=20cause=20HM?= =?UTF-8?q?R=20to=20fail=20to=20work=20unless=20a=20production=20build=20e?= =?UTF-8?q?xisted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andrew Welch --- cms/config/twigpack.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/config/twigpack.php b/cms/config/twigpack.php index f205f5a..f7669c8 100644 --- a/cms/config/twigpack.php +++ b/cms/config/twigpack.php @@ -46,7 +46,7 @@ 'publicPath' => App::env('TWIGPACK_DEV_SERVER_PUBLIC_PATH'), ], // Bundle to use with the webpack-dev-server - 'devServerBuildType' => 'combined', + 'devServerBuildType' => 'modern', // Whether to include a Content Security Policy "nonce" for inline // CSS or JavaScript. Valid values are 'header' or 'tag' for how the CSP // should be included. c.f.: From 493b08abc40d447f51790a77177b6675d25572d2 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Tue, 2 Feb 2021 20:11:26 -0500 Subject: [PATCH 2/2] Version 2.4.22 Signed-off-by: Andrew Welch --- CHANGELOG.md | 4 ++++ composer.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4ba265..1e85b2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # nystudio107/craft Change Log +## 2.4.22 - 2021.02.02 +### Fixed +* Fix setting that’d cause HMR to fail to work unless a production build existed + ## 2.4.21 - 2021.02.02 ### Changed * Changed `return 0` to `exit 0` in the `composer.json` scripts diff --git a/composer.json b/composer.json index eaea55d..4fd5a43 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "craftcms/craft", "description": "nystudio107 Craft 3.4 CMS scaffolding project", - "version": "2.4.21", + "version": "2.4.22", "keywords": [ "craft", "cms",