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

Update with-react-bootstrap to be Turbopack compatible #62773

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented Mar 2, 2024

What?

This example used the legacy ~ operator which is no longer required in latest webpack.

In case you land here trying Turbopack and running into the can't resolve error this will be useful to know:

If you still need ~ it can be aliased using the resolveAlias option in Turbopack:

module.exports = {
  experimental: {
    turbo: {
      resolveAlias: {
        '~*': '*',
      },
    },
  },
}

Closes NEXT-2673

@timneutkens timneutkens requested review from a team as code owners March 2, 2024 21:14
@timneutkens timneutkens requested review from manovotny and StephDietz and removed request for a team March 2, 2024 21:14
@ijjk ijjk added examples Issue/PR related to examples created-by: Next.js team PRs by the Next.js team. labels Mar 2, 2024
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @timneutkens and the rest of your teammates on Graphite Graphite

@timneutkens timneutkens merged commit 8c2edb4 into canary Mar 3, 2024
33 checks passed
@timneutkens timneutkens deleted the 03-02-Updat_with-react-bootstrap branch March 3, 2024 06:25
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team. examples Issue/PR related to examples locked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants