AFFiNE/packages/i18n/dev.mjs
2023-06-30 16:10:35 +08:00

13 lines
251 B
JavaScript

import { runCli } from '@magic-works/i18n-codegen';
import { fileURLToPath } from 'url';
runCli(
{
config: fileURLToPath(new URL('../../.i18n-codegen.json', import.meta.url)),
watch: true,
},
error => {
console.error(error);
}
);