Skip to content

Commit 90def15

Browse files
skevyMartin Konicek
authored andcommitted
Fixing CLI to pass "sourcemap-output" option to bundler.
Summary: Currently, the CLI is not passing the sourceMapURL option to the bundler, so source maps are output as "null". Closes #5288 Reviewed By: svcscm Differential Revision: D2828092 Pulled By: androidtrunkagent fb-gh-sync-id: 2e464ddf65f0d4fcbff3c50281391cb30b5c799c
1 parent ccd8f99 commit 90def15

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

local-cli/bundle/buildBundle.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function buildBundle(args, config, output = outputBundle) {
3232

3333
const requestOpts = {
3434
entryFile: args['entry-file'],
35+
sourceMapUrl: args['sourcemap-output'],
3536
dev: args.dev,
3637
minify: !args.dev,
3738
platform: args.platform,

0 commit comments

Comments
 (0)