react-native-update-cli 1.24.0 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/bundle.js +3 -3
- package/package.json +1 -1
- package/src/bundle.js +3 -3
package/lib/bundle.js
CHANGED
|
@@ -175,9 +175,9 @@ async function compileHermesByteCode(bundleName, outputFolder, sourcemapOutput)
|
|
|
175
175
|
const hermesCommand = `${hermesPath}/hermesc`;
|
|
176
176
|
|
|
177
177
|
const args = ['-emit-binary', '-out', _path2.default.join(outputFolder, bundleName), _path2.default.join(outputFolder, bundleName), '-O'];
|
|
178
|
-
if (sourcemapOutput) {
|
|
179
|
-
|
|
180
|
-
}
|
|
178
|
+
// if (sourcemapOutput) {
|
|
179
|
+
// args.push('-output-source-map');
|
|
180
|
+
// }
|
|
181
181
|
console.log('Running hermesc: ' + hermesCommand + ' ' + args.join(' ') + '\n');
|
|
182
182
|
(0, _child_process.spawnSync)(hermesCommand, args, {
|
|
183
183
|
stdio: 'ignore'
|
package/package.json
CHANGED
package/src/bundle.js
CHANGED
|
@@ -208,9 +208,9 @@ async function compileHermesByteCode(
|
|
|
208
208
|
path.join(outputFolder, bundleName),
|
|
209
209
|
'-O',
|
|
210
210
|
];
|
|
211
|
-
if (sourcemapOutput) {
|
|
212
|
-
|
|
213
|
-
}
|
|
211
|
+
// if (sourcemapOutput) {
|
|
212
|
+
// args.push('-output-source-map');
|
|
213
|
+
// }
|
|
214
214
|
console.log(
|
|
215
215
|
'Running hermesc: ' + hermesCommand + ' ' + args.join(' ') + '\n',
|
|
216
216
|
);
|