mirror of https://github.com/status-im/metro.git
Make the public metro runBuild() command generate the sourcemaps
Reviewed By: davidaurelio Differential Revision: D6666140 fbshipit-source-id: f49e0fdc848a4cec095c808887f5e999d86c104a
This commit is contained in:
parent
f5198ad15f
commit
058336f3b6
|
@ -250,6 +250,7 @@ exports.runBuild = async (options: RunBuildOptions) => {
|
|||
|
||||
const outputOptions: OutputOptions = {
|
||||
bundleOutput: options.out.replace(/(\.js)?$/, '.js'),
|
||||
sourcemapOutput: options.out.replace(/(\.js)?$/, '.map'),
|
||||
dev: options.dev,
|
||||
platform: options.platform || `web`,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue