mirror of https://github.com/status-im/metro.git
Disable using babel-generated sourcemaps from the metro bundler server
Reviewed By: jeanlauliac Differential Revision: D5785354 fbshipit-source-id: be1a5c114b12af356804ff3b4ed6c4263d66fa0c
This commit is contained in:
parent
36b2f8d67f
commit
5ee6de217d
|
@ -489,7 +489,7 @@ describe('processRequest', () => {
|
||||||
entryFile: 'path/to/foo.js',
|
entryFile: 'path/to/foo.js',
|
||||||
entryModuleOnly: false,
|
entryModuleOnly: false,
|
||||||
excludeSource: true,
|
excludeSource: true,
|
||||||
generateSourceMaps: true,
|
generateSourceMaps: false,
|
||||||
hot: true,
|
hot: true,
|
||||||
inlineSourceMap: false,
|
inlineSourceMap: false,
|
||||||
isolateModuleIDs: false,
|
isolateModuleIDs: false,
|
||||||
|
@ -514,7 +514,7 @@ describe('processRequest', () => {
|
||||||
entryFile: 'path/to/foo.js',
|
entryFile: 'path/to/foo.js',
|
||||||
entryModuleOnly: false,
|
entryModuleOnly: false,
|
||||||
excludeSource: false,
|
excludeSource: false,
|
||||||
generateSourceMaps: true,
|
generateSourceMaps: false,
|
||||||
hot: true,
|
hot: true,
|
||||||
inlineSourceMap: false,
|
inlineSourceMap: false,
|
||||||
isolateModuleIDs: false,
|
isolateModuleIDs: false,
|
||||||
|
|
|
@ -1153,10 +1153,7 @@ class Server {
|
||||||
'entryModuleOnly',
|
'entryModuleOnly',
|
||||||
false,
|
false,
|
||||||
),
|
),
|
||||||
generateSourceMaps:
|
generateSourceMaps: false,
|
||||||
minify ||
|
|
||||||
!dev ||
|
|
||||||
this._getBoolOptionFromQuery(urlObj.query, 'babelSourcemap', false),
|
|
||||||
assetPlugins,
|
assetPlugins,
|
||||||
onProgress: null,
|
onProgress: null,
|
||||||
unbundle: false,
|
unbundle: false,
|
||||||
|
|
Loading…
Reference in New Issue