Skip to content

Commit 4015814

Browse files
committed
speed up builds
1 parent 5873677 commit 4015814

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

prember-urls.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,22 @@ module.exports = function () {
4242
urls.push(`/${p}/${uniqVersion}/${suffix}`);
4343
};
4444

45-
const oldVersions = ['1.13', '2.18', '3.28', '4.4', '4.8', '4.12'];
45+
const oldVersions = [
46+
'1.13',
47+
'2.18',
48+
'3.28',
49+
'4.4',
50+
'4.8',
51+
'4.12',
52+
'5.4',
53+
'5.8',
54+
'5.12',
55+
];
4656

4757
uniqueProjectVersions.forEach((uniqVersion) => {
4858
if (
4959
!oldVersions.includes(uniqVersion) &&
50-
!semver.gte(`${uniqVersion}.0`, '5.0.0')
60+
!semver.gte(`${uniqVersion}.0`, '6.0.0')
5161
) {
5262
return;
5363
}

0 commit comments

Comments
 (0)