mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-05 05:07:14 +02:00
fix: provide correct paths for build
This commit is contained in:
parent
5fcc13572c
commit
ca623d7d38
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module.exports = function createServerConfig(props) {
|
||||||
|
|
||||||
// static site generator webpack plugin
|
// static site generator webpack plugin
|
||||||
const docsLinks = Object.values(docsData).map(data => ({
|
const docsLinks = Object.values(docsData).map(data => ({
|
||||||
path: `${siteConfig.baseUrl}${data.permalink}`
|
path: `${data.permalink}`
|
||||||
}));
|
}));
|
||||||
const paths = [...docsLinks, ...pagesData].map(data => data.path);
|
const paths = [...docsLinks, ...pagesData].map(data => data.path);
|
||||||
config.plugin('siteGenerator').use(staticSiteGenerator, [
|
config.plugin('siteGenerator').use(staticSiteGenerator, [
|
||||||
|
|
Loading…
Add table
Reference in a new issue