From 00659864bc42f127efa07a98fe3e2bd5d4ba1d58 Mon Sep 17 00:00:00 2001 From: Adam Miskiewicz Date: Wed, 13 Jan 2016 12:53:06 -0800 Subject: [PATCH] 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 https://github.com/facebook/react-native/pull/5288 Reviewed By: svcscm Differential Revision: D2828092 Pulled By: androidtrunkagent fb-gh-sync-id: 2e464ddf65f0d4fcbff3c50281391cb30b5c799c --- local-cli/bundle/buildBundle.js | 1 + 1 file changed, 1 insertion(+) diff --git a/local-cli/bundle/buildBundle.js b/local-cli/bundle/buildBundle.js index a5fea2d4f..5b75ca3fb 100644 --- a/local-cli/bundle/buildBundle.js +++ b/local-cli/bundle/buildBundle.js @@ -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,