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.
This commit is contained in:
Hippo 2021-07-26 22:59:04 +05:30
parent be12c945fa
commit badcebeb35

View file

@ -41,7 +41,7 @@ let options = {
], ],
}, },
extractCSS: true, extractCSS: true,
cssOutputPath: '/css/styles.css', cssOutputPath: 'css/styles.css',
publicPath: 'public' + (config.basePath || ''), publicPath: 'public' + (config.basePath || ''),
compilerConfig: { compilerConfig: {
// custom webpack config // custom webpack config