Auto sorting of locale files

This commit is contained in:
Jamie Curnow
2025-09-25 18:31:00 +10:00
parent 645b363330
commit 409c166c67
6 changed files with 101 additions and 59 deletions

View File

@@ -19,6 +19,12 @@ export default defineConfig({
throw error;
}
console.log(stdout);
execFile("yarn", ["locale-sort"], (error, stdout, _stderr) => {
if (error) {
throw error;
}
console.log(stdout);
});
});
}
});