mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-13 23:37:46 +03:00
fa8655e43e
it makes it perfectly clear that the package is a Node.js builtin module.
17 lines
294 B
JavaScript
17 lines
294 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: false,
|
|
},
|
|
error => {
|
|
console.error(error);
|
|
process.exit(1);
|
|
}
|
|
);
|