Auto sorting of locale files

This commit is contained in:
Jamie Curnow
2025-09-25 18:31:00 +10:00
parent e36c1b99a5
commit abdf8866e0
5 changed files with 100 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);
});
});
}
});