mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-24 03:26:31 +03:00
14 lines
279 B
JavaScript
14 lines
279 B
JavaScript
import { runCli } from '@magic-works/i18n-codegen';
|
|
import { fileURLToPath } from 'url';
|
|
|
|
await runCli(
|
|
{
|
|
config: fileURLToPath(new URL('../../.i18n-codegen.json', import.meta.url)),
|
|
watch: false,
|
|
},
|
|
error => {
|
|
console.error(error);
|
|
process.exit(1);
|
|
}
|
|
);
|