File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-native-update-cli" ,
3- "version" : " 2.2.1 " ,
3+ "version" : " 2.2.2 " ,
44 "description" : " command line tool for react-native-update (remote updates for react native)" ,
55 "main" : " index.js" ,
66 "bin" : {
Original file line number Diff line number Diff line change @@ -163,20 +163,18 @@ async function runReactNativeBundleCommand({
163163 bundleCommand = 'build' ;
164164 }
165165
166- reactNativeBundleArgs . push (
167- cliPath ,
168- bundleCommand ,
169- '--assets-dest' ,
170- outputFolder ,
171- '--bundle-output' ,
172- path . join (
173- outputFolder ,
174- platform === 'harmony' ? 'bundle.harmony.js' : bundleName ,
175- ) ,
176- ) ;
166+ reactNativeBundleArgs . push ( cliPath , bundleCommand ) ;
177167
178168 if ( platform !== 'harmony' ) {
179- reactNativeBundleArgs . push ( '--platform' , platform , '--reset-cache' ) ;
169+ reactNativeBundleArgs . push (
170+ '--platform' ,
171+ platform ,
172+ '--assets-dest' ,
173+ outputFolder ,
174+ '--bundle-output' ,
175+ path . join ( outputFolder , bundleName ) ,
176+ '--reset-cache' ,
177+ ) ;
180178 }
181179
182180 if ( cli . taro ) {
You can’t perform that action at this time.
0 commit comments