react/scripts/rollup
dan 175962c10c
Fix remaining CommonJS imports after Rollup upgrade (#26473)
Follow-up to https://github.com/facebook/react/pull/26442.

It looks like we missed a few cases where we default import a CommonJS
module, which leads to Rollup adding `.default` access, e.g.
`require('webpack/lib/Template').default` in the output.

To fix, add the remaining cases to the list of exceptions. Verified by
going through all `externals` in the bundle list, and manually checking
the webpack plugin.
2023-03-25 00:05:23 +00:00
..
plugins Update Rollup to 3.x (#26442) 2023-03-24 18:08:41 +00:00
shims Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
validate flushSync: Exhaust queue even if something throws (#26366) 2023-03-10 17:21:34 -05:00
wrappers Fix module-boundary wrappers (#22688) 2021-11-04 10:40:35 -04:00
build-all-release-channels.js Use content hash for facebook-www builds (#26331) 2023-03-06 17:13:17 -05:00
build.js Fix remaining CommonJS imports after Rollup upgrade (#26473) 2023-03-25 00:05:23 +00:00
bundles.js Update Rollup to 3.x (#26442) 2023-03-24 18:08:41 +00:00
forks.js Remove FeatureFlags fork for `react-dom/unstable_testing` (#26383) 2023-03-13 18:43:37 -04:00
generate-inline-fizz-runtime.js Update Closure Compiler (#26205) 2023-02-20 13:27:13 -05:00
modules.js Upgrade prettier (#26081) 2023-01-31 08:25:05 -05:00
packaging.js Split out Edge and Node implementations of the Flight Client (#26187) 2023-02-21 13:18:24 -05:00
stats.js Fix sizebot (#15771) 2019-05-29 21:30:16 -07:00
sync.js Fork React Native renderer into FB and OSS bundles (#12625) 2018-04-18 13:16:50 -07:00
utils.js Fixed broken build script --unsafe-partial flag (#22324) 2021-09-15 13:32:09 -04:00
wrappers.js Update Rollup to 3.x (#26442) 2023-03-24 18:08:41 +00:00