Commit
require('next/dist/compiled/react')
`
This will be picked up by our `next` alias in `createWebpackAliases`. Any subsequent alias of `next/*` would be ignored e.g. aliasing `next/dist/compiled/react` to the react-server entrypoint. I also hope we don't actually need this since we're already aliasing `react` to `next/dist/compiled/react` in Webpack. At the same time we're not hardcoding `next/dist/compiled/react-dom`. This split in behavior is really confusing. The alternate would be ensuring that our `next` alias becomes a falback. Or list all the public entrypoints. Or remove it entirely.
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.