-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Tech: bundle @vitejs/plugin-vue in #20343
Conversation
"externals": [ | ||
"util", | ||
"tty", | ||
"path" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do these need to be listed as externals now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question.. I do not remember 2 weeks later..
I think something relating to the package being bundled in using this, but them being node-internals?
Issue: vitejs/plugin-vue has an exact dep on vite4, when we try to make it vite3 compatible. It IS actually compatible, but the version range said it is not.
What I did
I bundled the package in, therefore the dependency disappears and can also not give a unsatisfied peerDependency warning in pnpm