Skip to content

Commit

Permalink
Fix building without writing a source map
Browse files Browse the repository at this point in the history
Reviewed By: bestander

Differential Revision: D3690117

fbshipit-source-id: f162352c09c4c2a387a9414dbd7da55b86551ee3
  • Loading branch information
davidaurelio authored and Facebook Github Bot committed Aug 9, 2016
1 parent f951da9 commit a567898
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion local-cli/bundle/buildBundle.js
Expand Up @@ -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,
Expand Down

0 comments on commit a567898

Please sign in to comment.