From a9a2ac3d174ff1211dcf002ab0dfd230219fb031 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Fri, 20 Jan 2017 10:28:23 -0800 Subject: [PATCH] amend babel definitions to allow inline plugins without configuration Summary: Updates babel flow defs to allow for inline plugins without configuration arguments. Reviewed By: jeanlauliac Differential Revision: D4442217 fbshipit-source-id: 1b4392bf13977d97984c72cff65b28e62f602300 --- react-packager/src/ModuleGraph/worker/optimize-module.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/react-packager/src/ModuleGraph/worker/optimize-module.js b/react-packager/src/ModuleGraph/worker/optimize-module.js index 7a83850e..3369f7d1 100644 --- a/react-packager/src/ModuleGraph/worker/optimize-module.js +++ b/react-packager/src/ModuleGraph/worker/optimize-module.js @@ -71,10 +71,6 @@ function optimize(transformed, file, originalCode, options): TransformResult { } function optimizeCode(code, map, filename, inliningOptions) { - /* $FlowFixMe(>=0.38.0 site=react_native_fb,react_native_oss) - Flow error - * detected during the deployment of v0.38.0. To see the error, remove this - * comment and run flow - */ return babel.transform(code, { plugins: [ [constantFolding],