mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-29 08:57:03 +02:00
Add chalk non-blocking errors + fix config bug
This commit is contained in:
parent
77c7ac0ddb
commit
00a79f69c7
3 changed files with 49 additions and 13 deletions
|
@ -41,14 +41,19 @@ module.exports = {
|
|||
to: '/docs',
|
||||
from: '/plugin-client-redirects-tests/toDocs2',
|
||||
},
|
||||
{
|
||||
to: '/docs',
|
||||
from: '/plugin-client-redirects-tests/toHomeDuplicatePath',
|
||||
},
|
||||
],
|
||||
createRedirects: function (existingPath) {
|
||||
if (existingPath === '/') {
|
||||
return [
|
||||
[
|
||||
'/plugin-client-redirects-tests/toHome3',
|
||||
'/plugin-client-redirects-tests/toHome4',
|
||||
],
|
||||
'/',
|
||||
'/docs',
|
||||
'/plugin-client-redirects-tests/toHome3',
|
||||
'/plugin-client-redirects-tests/toHome4',
|
||||
'/plugin-client-redirects-tests/toHomeDuplicatePath',
|
||||
];
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue