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:
committed by
Facebook Github Bot
parent
d69fb9e6a1
commit
44fea6b9bc
@@ -156,9 +156,6 @@ function compile(buildFolder) {
|
||||
minify: false,
|
||||
resetCache: true,
|
||||
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',
|
||||
entry: path.join(__dirname, '..', 'src', 'init.js'),
|
||||
out: path.join(buildFolder, 'bundle.js'),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user