test: fix image preview (#2874)
This commit is contained in:
1 parent
5275ff5493
commit
ab703fe3ae
5 files changed
+30
-13
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import { runCli } from '@magic-works/i18n-codegen';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
await runCli(
|
||||
{
|
||||
config: fileURLToPath(new URL('../../.i18n-codegen.json', import.meta.url)),
|
||||
watch: false,
|
||||
},
|
||||
error => {
|
||||
console.error(error);
|
||||
process.exit(1);
|
||||
}
|
||||
);
|
||||
Reference in new issue
Block a user