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. |
||
|---|---|---|
| .. | ||
| plugins | ||
| shims | ||
| validate | ||
| wrappers | ||
| build-all-release-channels.js | ||
| build.js | ||
| bundles.js | ||
| forks.js | ||
| generate-inline-fizz-runtime.js | ||
| modules.js | ||
| packaging.js | ||
| stats.js | ||
| sync.js | ||
| utils.js | ||
| wrappers.js | ||