From cf4ce040ed41be9b503721722fdbd44d3ebee0f5 Mon Sep 17 00:00:00 2001 From: Sarah Rambacher Date: Fri, 21 Jun 2024 16:55:59 -0400 Subject: [PATCH] Update packages/module/build.js Co-authored-by: Michael Coker <35148959+mcoker@users.noreply.github.com> --- packages/module/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/module/build.js b/packages/module/build.js index 0a1c216..88495e9 100644 --- a/packages/module/build.js +++ b/packages/module/build.js @@ -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` +