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',