Skip to content

Commit

Permalink
Update packages/module/build.js
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Coker <[email protected]>
  • Loading branch information
srambach and mcoker authored Jun 21, 2024
1 parent 236932a commit cf4ce04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/module/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const build = (selector) => {
formatter: function ({ dictionary, file, options }) {
const { outputReferences } = options;
const alphaSort = (a, b) => sortByName(a, b) * -1;
dictionary.allTokens = dictionary.allTokens.sort(alphaSort).sort((tokens) => sortByReference(tokens));
dictionary.allTokens = dictionary.allTokens.sort(alphaSort);
return (
fileHeader({ file, commentStyle: 'short' }) +
`${selector} {\n` +
Expand Down

0 comments on commit cf4ce04

Please sign in to comment.