From 21d79ce04066ade1098a7ae8990e596e01332a65 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Fri, 6 Sep 2019 16:48:07 +0100 Subject: [PATCH] Add FreshRuntime WWW bundle, remove ESLint (#16684) --- scripts/rollup/bundles.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/rollup/bundles.js b/scripts/rollup/bundles.js index 948d5694d4d1c..6a2d7d2af098c 100644 --- a/scripts/rollup/bundles.js +++ b/scripts/rollup/bundles.js @@ -455,7 +455,7 @@ const bundles = [ // won't get copied. We also can't create just DEV bundle because it contains a // NODE_ENV check inside. We should probably tweak our build process to allow // "raw" packages that don't get bundled. - bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV], + bundleTypes: [NODE_DEV, NODE_PROD], moduleType: ISOMORPHIC, entry: 'eslint-plugin-react-hooks', global: 'ESLintPluginReactHooks', @@ -471,7 +471,7 @@ const bundles = [ externals: [], }, { - bundleTypes: [NODE_DEV, NODE_PROD], + bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV], moduleType: ISOMORPHIC, entry: 'react-refresh/runtime', global: 'ReactFreshRuntime',