Add FreshRuntime WWW bundle, remove ESLint (#16684)
Dan Abramov committed
Sep 6, 2019 at 16:48 UTC
21d79ce04066ade1098a7ae8990e596e01332a65
1 file changed
+2
-2
scripts/rollup/bundles.js
+2
-2
@@ -455,7 +455,7 @@ const bundles = [
455
// won't get copied. We also can't create just DEV bundle because it contains a
456
// NODE_ENV check inside. We should probably tweak our build process to allow
457
// "raw" packages that don't get bundled.
458
- bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV],
458
+ bundleTypes: [NODE_DEV, NODE_PROD],
459
moduleType: ISOMORPHIC,
460
entry: 'eslint-plugin-react-hooks',
461
global: 'ESLintPluginReactHooks',
@@ -471,7 +471,7 @@ const bundles = [
471
externals: [],
472
},
473
{
474
- bundleTypes: [NODE_DEV, NODE_PROD],
474
+ bundleTypes: [NODE_DEV, NODE_PROD, FB_WWW_DEV],
475
moduleType: ISOMORPHIC,
476
entry: 'react-refresh/runtime',
477
global: 'ReactFreshRuntime',