mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-26 12:25:15 +03:00
13 lines
251 B
JavaScript
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);
|
||
|
}
|
||
|
);
|