File tree Expand file tree Collapse file tree 6 files changed +8
-5
lines changed
Expand file tree Collapse file tree 6 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -225,6 +225,7 @@ async function runReactNativeBundleCommand({
225225
226226 if ( disableHermes ) {
227227 hermesEnabled = false ;
228+ console . log ( 'Hermes disabled' ) ;
228229 } else if ( platform === 'android' ) {
229230 const gradlePropeties = await new Promise < {
230231 hermesEnabled ?: boolean ;
Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ import { printVersionCommand } from './utils';
66import pkg from '../package.json' ;
77import path from 'node:path' ;
88import i18next from 'i18next' ;
9+ import en from './locales/en' ;
10+ import zh from './locales/zh' ;
911
1012const scriptName : 'cresc' | 'pushy' = path . basename ( process . argv [ 1 ] ) as
1113 | 'cresc'
@@ -14,10 +16,10 @@ global.IS_CRESC = scriptName === 'cresc';
1416
1517i18next . init ( {
1618 lng : global . IS_CRESC ? 'en' : 'zh' ,
17- debug : process . env . NODE_ENV !== 'production' ,
19+ // debug: process.env.NODE_ENV !== 'production',
1820 resources : {
19- en : require ( './locales/en.json' ) ,
20- zh : require ( './locales/zh.json' ) ,
21+ en,
22+ zh,
2123 } ,
2224} ) ;
2325
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ export default { } ;
Original file line number Diff line number Diff line change 1+ export default { } ;
You can’t perform that action at this time.
0 commit comments