Skip to content

Commit

Permalink
Fixing CLI to pass "sourcemap-output" option to bundler.
Browse files Browse the repository at this point in the history
Summary:
Currently, the CLI is not passing the sourceMapURL option to the bundler, so source maps are output as "null".
Closes facebook#5288

Reviewed By: svcscm

Differential Revision: D2828092

Pulled By: androidtrunkagent

fb-gh-sync-id: 2e464ddf65f0d4fcbff3c50281391cb30b5c799c
  • Loading branch information
skevy authored and facebook-github-bot-4 committed Jan 13, 2016
1 parent f25b1a9 commit 0065986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions local-cli/bundle/buildBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ function buildBundle(args, config, output = outputBundle) {

const requestOpts = {
entryFile: args['entry-file'],
sourceMapUrl: args['sourcemap-output'],
dev: args.dev,
minify: !args.dev,
platform: args.platform,
Expand Down

0 comments on commit 0065986

Please sign in to comment.