|
|
@ -20,7 +20,7 @@ exports.onPostBuild = async ({store}) => { |
|
|
|
|
|
|
|
// versions.yml structure is [{path: string, url: string, ...}, ...]
|
|
|
|
createRedirects( |
|
|
|
versions.map(version => ({ |
|
|
|
versions.filter(version => version.path && version.url).map(version => ({ |
|
|
|
fromPath: version.path, |
|
|
|
toPath: version.url, |
|
|
|
})), |
|
|
|