build(electron): use nx (#2942)
This commit is contained in:
12
packages/i18n/dev.mjs
Normal file
12
packages/i18n/dev.mjs
Normal file
@@ -0,0 +1,12 @@
|
||||
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);
|
||||
}
|
||||
);
|
||||
Reference in New Issue
Block a user