From 3401cfe768ef2bf359d5e400adb8c2abc374efee Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Wed, 13 Sep 2017 16:42:22 -0700 Subject: [PATCH] disable all dev settings for base transform Reviewed By: fkgozali Differential Revision: D5824578 fbshipit-source-id: 7503700b82dc2b4de4c2d941829ba837ddcd5f3c --- .../metro-bundler/src/ModuleGraph/worker/transform-module.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/metro-bundler/src/ModuleGraph/worker/transform-module.js b/packages/metro-bundler/src/ModuleGraph/worker/transform-module.js index 5cdc7d9b..81be5da8 100644 --- a/packages/metro-bundler/src/ModuleGraph/worker/transform-module.js +++ b/packages/metro-bundler/src/ModuleGraph/worker/transform-module.js @@ -43,7 +43,7 @@ export type TransformOptions = {| const NODE_MODULES = path.sep + 'node_modules' + path.sep; const defaultTransformOptions = { - dev: true, + dev: false, generateSourceMaps: true, hot: false, inlineRequires: false,