mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
Fix building without writing a source map
Reviewed By: bestander Differential Revision: D3690117 fbshipit-source-id: f162352c09c4c2a387a9414dbd7da55b86551ee3
This commit is contained in:
parent
f951da912d
commit
a5678983bb
@ -28,7 +28,7 @@ function buildBundle(args, config, output = outputBundle, packagerInstance) {
|
||||
|
||||
const requestOpts = {
|
||||
entryFile: args.entryFile,
|
||||
sourceMapUrl: path.basename(args.sourcemapOutput),
|
||||
sourceMapUrl: args.sourcemapOutput && path.basename(args.sourcemapOutput),
|
||||
dev: args.dev,
|
||||
minify: !args.dev,
|
||||
platform: args.platform,
|
||||
|
Loading…
x
Reference in New Issue
Block a user