mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
fix: sort illustration filenames and update illustrations.json content
This commit is contained in:
@@ -11,6 +11,7 @@ const illustrations = sync(join(__dirname, `../../shared/static/illustrations/li
|
||||
.map((file) => {
|
||||
return basename(file, '.png')
|
||||
})
|
||||
.sort((a, b) => a.localeCompare(b));
|
||||
|
||||
writeFileSync(
|
||||
join(__dirname, `../../shared/data/illustrations.json`),
|
||||
|
||||
Reference in New Issue
Block a user