mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 10:20:09 +02:00
fix: respect base URL when serving content by webpack dev server (#5864)
This commit is contained in:
parent
1363a25819
commit
aeeacc3b52
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ export default async function start(
|
||||||
stats: 'summary',
|
stats: 'summary',
|
||||||
},
|
},
|
||||||
static: {
|
static: {
|
||||||
|
publicPath: baseUrl,
|
||||||
directory: path.resolve(siteDir, STATIC_DIR_NAME),
|
directory: path.resolve(siteDir, STATIC_DIR_NAME),
|
||||||
watch: {
|
watch: {
|
||||||
// Useful options for our own monorepo using symlinks!
|
// Useful options for our own monorepo using symlinks!
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue