From badcebeb353d7c1b9e716f4d6a1169d835c4d236 Mon Sep 17 00:00:00 2001 From: Hippo Date: Mon, 26 Jul 2021 22:59:04 +0530 Subject: [PATCH] Make CSS output URL respect baseUrl setting A typo was preventing this from happening: it was always trying to load CSS from the root domain instead of one relative to the base path. --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 5ebe950..d4ae3eb 100644 --- a/server.js +++ b/server.js @@ -41,7 +41,7 @@ let options = { ], }, extractCSS: true, - cssOutputPath: '/css/styles.css', + cssOutputPath: 'css/styles.css', publicPath: 'public' + (config.basePath || ''), compilerConfig: { // custom webpack config