fix: respect base URL when serving content by webpack dev server (#5864)

This commit is contained in:
Alexey Pyltsyn 2021-11-03 21:12:22 +03:00 committed by GitHub
parent 1363a25819
commit aeeacc3b52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,7 @@ export default async function start(
stats: 'summary',
},
static: {
publicPath: baseUrl,
directory: path.resolve(siteDir, STATIC_DIR_NAME),
watch: {
// Useful options for our own monorepo using symlinks!