Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App Router - preinitialize chunks during SSR #54752

Merged
merged 9 commits into from
Oct 3, 2023

Commits on Oct 3, 2023

  1. This just adds a test case that will be useful in a later patch to im…

    …plement chunk preloading. I add it now because I am using it to check for flaws in the later change I make to the webpack config and aliasing
    gnoff committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    d1f0020 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b2bdd7 View commit details
    Browse the repository at this point in the history
  3. Updates react packages to 18.3.0-canary-f81c0f1ed-20230927

    adds react-server-dom-turbopack as a dependency
    gnoff committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    7a2fd0b View commit details
    Browse the repository at this point in the history
  4. React upstreamed a number of changes to the react-server bindings for…

    … webpack which mean we can remove a number of hacks we implemented in Next to make this work. This change requires a few things
    
    1. stop rewriting __webpack_require__ and __webpack_chunk_load__ to __next_require__ and __next_chunk_load__
    2. stop wrappign the __webpack_require__.u function (get chunk filesname)
    3. start capturing prefix and crossOrigin settings from webpack config during build to pass to react bindings
    gnoff committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    d0b127f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    45fbec6 View commit details
    Browse the repository at this point in the history
  6. Add back in the module loading indirection to make it work across bun…

    …dles (runtime + user bundle) on the server
    gnoff committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    4c189a6 View commit details
    Browse the repository at this point in the history
  7. turbo recently landed support for assetPrefix and this implements thi…

    …s support for the client reference manifest
    gnoff committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    cc96b43 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    aeaf335 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0e76552 View commit details
    Browse the repository at this point in the history