We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e48ad commit e9d971bCopy full SHA for e9d971b
index.ts
@@ -160,9 +160,13 @@ for (const [key, data] of yamlEntries('features')) {
160
}
161
162
163
- // Check that no BCD key is used twice until the meaning is made clear in
164
- // https://github.com/web-platform-dx/web-features/issues/1173.
165
if (data.compat_features) {
+ // Sort compat_features so that grouping and ordering in dist files has
+ // no effect on what web-features users see.
166
+ data.compat_features.sort();
167
+
168
+ // Check that no BCD key is used twice until the meaning is made clear in
169
+ // https://github.com/web-platform-dx/web-features/issues/1173.
170
for (const bcdKey of data.compat_features) {
171
const otherKey = bcdToFeatureId.get(bcdKey);
172
if (otherKey) {
0 commit comments