Skip to content

Conversation

@mertcanaltin
Copy link
Contributor

  • Introduced a new CLI option --turbo to enable Turbopack for next dev.
  • Added an interactive prompt to ask the user if they want to use Turbopack during project setup.
  • Updated the createApp function to pass the turbo option and adjust the dev script in package.json to use next dev --turbo when Turbopack is enabled.
  • Ensured compatibility with different project templates (e.g., App Router, non-App Router, Tailwind, non-Tailwind).
  • Updated the documentation to reflect the new Turbopack option in both interactive and non-interactive setups.

Resolves #65924

@mertcanaltin mertcanaltin requested review from StephDietz and molebox and removed request for a team May 18, 2024 15:30
@ijjk ijjk added create-next-app Related to our CLI tool for quickly starting a new Next.js application. Documentation Related to Next.js' official documentation. tests labels May 18, 2024
@ijjk
Copy link
Member

ijjk commented May 18, 2024

Allow CI Workflow Run

  • approve CI run for commit: 69699fc

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

@leerob
Copy link
Contributor

leerob commented May 18, 2024

Hey! Can we combine efforts into this PR? See anything missing or things you would change? Thank you so much for helping out.

#65926

@mertcanaltin
Copy link
Contributor Author

Hey! Can we combine efforts into this PR? See anything missing or things you would change? Thank you so much for helping out.

#65926

You're welcome, of course, LGTM 🚀

@leerob leerob closed this May 18, 2024
@github-actions github-actions bot added the locked label Jun 2, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

create-next-app Related to our CLI tool for quickly starting a new Next.js application. Documentation Related to Next.js' official documentation. locked tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to enable Turbopack with create-next-app

3 participants