From 6509803f5b0685cef38acf8d38b88c949eea9097 Mon Sep 17 00:00:00 2001 From: Andrew Welch Date: Tue, 2 Feb 2021 20:10:34 -0500 Subject: [PATCH] =?UTF-8?q?Fix=20setting=20that=E2=80=99d=20cause=20HMR=20?= =?UTF-8?q?to=20fail=20to=20work=20unless=20a=20production=20build=20exist?= =?UTF-8?q?ed?= 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.: