Replies: 2 comments
-
|
Actually no... some docusaurus local redirect rules are different |
Beta Was this translation helpful? Give feedback.
-
|
I've seen those memory issues as well when using
If you want to build a single-domain localized site this way you'll have to use the new env var we added in #6731 function getSiteBaseUrl() {
switch(process.env.DOCUSAURUS_CURRENT_LOCALE) {
case "fr": return "/fr/";
default: return "/";
}
}(there's an old draft PR that we should revive to make it easier: #6731)
I don't know what you mean here, but client direct plugin is not particularly recommended, and don't see why it should be affected. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Does building locales individually and moving the files to the build folder produce the same outcome as
docusaurus build? This is to get around JavaScript heap out of memory on remote worker machines.Beta Was this translation helpful? Give feedback.
All reactions