AFFiNE/packages/i18n/build.mjs

14 lines
279 B
JavaScript
Raw Normal View History

2023-06-27 16:05:24 +03:00
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);
}
);