From accad5366f32310e730fd5d1a6fbd5054b956ac1 Mon Sep 17 00:00:00 2001 From: cregnier Date: Mon, 1 May 2017 05:18:14 -0700 Subject: [PATCH] =?UTF-8?q?fixes=20#535=20-=20changes=20unneeded=20js=20re?= =?UTF-8?q?quire=20expression=20to=20a=20static=20strin=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: fixes #535 - changes unneeded js require expression to a static string to clean up webpack warnings Closes https://github.com/facebook/yoga/pull/536 Differential Revision: D4977993 Pulled By: emilsjolander fbshipit-source-id: 92fe3a278391f37e44ac816d662885df6b4ea11f --- javascript/sources/entry-common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/sources/entry-common.js b/javascript/sources/entry-common.js index 880d08c0daf..09f50346679 100644 --- a/javascript/sources/entry-common.js +++ b/javascript/sources/entry-common.js @@ -23,7 +23,7 @@ module.exports = function (bind, lib) { UNDEFINED: NaN - }, require(`./YGEnums`)); + }, require('./YGEnums')); class Layout {