mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 16:31:43 +03:00
fa8655e43e
it makes it perfectly clear that the package is a Node.js builtin module.
16 lines
272 B
JavaScript
16 lines
272 B
JavaScript
import { fileURLToPath } from 'node:url';
|
|
|
|
import { runCli } from '@magic-works/i18n-codegen';
|
|
|
|
runCli(
|
|
{
|
|
config: fileURLToPath(
|
|
new URL('../../../.i18n-codegen.json', import.meta.url)
|
|
),
|
|
watch: true,
|
|
},
|
|
error => {
|
|
console.error(error);
|
|
}
|
|
);
|