mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
chore: do not error on broken links when doing test build (#9363)
This commit is contained in:
parent
0624007271
commit
683fe37806
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ module.exports = async function createConfigAsync() {
|
|||
},
|
||||
onBrokenLinks:
|
||||
// Do not fail the build if a localized site has a broken link
|
||||
process.env.DOCUSAURUS_CURRENT_LOCALE === defaultLocale
|
||||
process.env.DOCUSAURUS_CURRENT_LOCALE === defaultLocale && !isBuildFast
|
||||
? 'throw'
|
||||
: 'warn',
|
||||
onBrokenMarkdownLinks: 'warn',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue