-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
feat(nuxt): auto-install @nuxt/webpack-builder
when needed
#21747
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
feat(nuxt): auto-install @nuxt/webpack-builder
when needed
#21747
Conversation
@nuxt/webpack-builder
if builder is webpack
We'll aim to get this out for the 3.7 release, next month. @antfu It looks like this is failing within |
I don't mind switching at all. But wonder what cause the failing. Vitest is using it heavily but does seems to have the issue |
It is using a synchronous CJS-compatible utility only: https://github.com/antfu/local-pkg/blob/main/index.mjs#L70-L84 |
Oh yeah, in that case, I guess I might need to rewrite it to make all functions async. For nuxt I think we could directly use unjs packages and not been blocked by it. |
@nuxt/webpack-builder
if builder is webpack@nuxt/webpack-builder
when needed
/trigger release |
π Release triggered! You can now install nuxt@npm:nuxt3@pr-21747 |
Thank you - this is great. |
π Linked issue
resolves #21746
β Type of change
π Description
This solves problems related to the webpack builder when the builder options its set to webpack but the module it's not installed.
π Checklist