mirror of
https://github.com/LukeHagar/skeleton.git
synced 2025-12-10 04:21:26 +00:00
Ordered the classes in tw-settings.json
This commit is contained in:
@@ -124,7 +124,8 @@ function generateKeyWordsFromProps() {
|
||||
}
|
||||
}
|
||||
}
|
||||
writeFileSync('scripts/tw-settings.json', JSON.stringify({ "tailwindCSS.classAttributes": [...propSet] }, null, '\t'));
|
||||
const finalProps = Array.from(propSet).sort()
|
||||
writeFileSync('scripts/tw-settings.json', JSON.stringify({ "tailwindCSS.classAttributes": [...finalProps] }, null, '\t'));
|
||||
}
|
||||
|
||||
extractScriptsFromComponents('src/lib/components');
|
||||
|
||||
Reference in New Issue
Block a user