Skip to content

Remove experimental flag modern: true #12

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

Closed
wants to merge 1 commit into from

Conversation

DoctorDerek
Copy link
Contributor

This feature got dropped by Next.js so should be removed, see: vercel/next.js#19275

Arguably, it could still be worth keeping (people mention 3-6% bundle size improvement, 21% bundle size improvement when using Preact), but it's a bit of a landmine.

I haven't actually compared bundle sizes or looked at the effect of this change. What do you think @timlrx?

As discussed in that pull request over at Next.js, it's incompatible for when they migrate to Webpack 5. I think removing this feature is currently in the /canary version of Next.js, not a released version.

This feature got dropped by Next.js so should be removed, see: vercel/next.js#19275
@vercel
Copy link

vercel bot commented Mar 31, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/timlrx/tailwind-nextjs-starter-blog/A8gJhLRem1eRiEQ7zADT12ZCapeg
✅ Preview: https://tailwind-nextj-git-fork-doctorderek-patch-3-8d3f1d.vercel.app

@timlrx
Copy link
Owner

timlrx commented Apr 1, 2021

Thanks, I see that next.js 10.1 has upgraded to webpack 5. You probably encountered an error since you mentioned in a previous post that you deleted package-lock.json and re-installed it. I Will merge this together will the next version upgrade.

@timlrx
Copy link
Owner

timlrx commented Apr 2, 2021

updated in #14 and use webpack 5

@timlrx timlrx closed this Apr 2, 2021
@DoctorDerek DoctorDerek deleted the patch-3 branch April 15, 2021 12:24
alexbran8 pushed a commit to alexbran8/me that referenced this pull request Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants