update metro to 0.47.1 to fix sourcemaps in plugins

Summary: Inline sourcemaps were broken in Metro until 0.47.1, so now we can debug flipper plugins again!

Reviewed By: passy

Differential Revision: D10200221

fbshipit-source-id: 919c1bc4f7aee720f25f2375ffbd8a786ebd0017
This commit is contained in:
Charles Dick
2018-10-04 12:10:40 -07:00
committed by Facebook Github Bot
parent d69fb9e6a1
commit 44fea6b9bc
4 changed files with 180 additions and 611 deletions

View File

@@ -173,9 +173,6 @@ async function compilePlugin(
out,
dev: false,
sourceMap: true,
// due to a bug in metro inline source maps are only created when
// sourceMapUrl is truthy: https://github.com/facebook/metro/pull/260
sourceMapUrl: 'inline',
},
);
} catch (e) {