-
-
Notifications
You must be signed in to change notification settings - Fork 15
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
✨ Chore: Add Namespace builtins Vite Plugin by Natemoo-re #132
Conversation
[skip ci]
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-07-01 01:16:50 CET |
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-07-01 01:16:30 CET |
The preview deployment is ready. 🟢 Open Preview | Open Build Logs Last updated at: 2024-07-01 01:16:58 CET |
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.
Yeah I love this, this is some top tier 🧠 shit
I thought it was a Cool find in the Astro Discord. I believe Florian was the one who linked it recently (to deal with a CF thing) |
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.
Finally, something small 🫡 LGTM ✅
!coauthor |
|
Original issue description
In order to ensure that all node builtin packages are properly prefixed with the
node:
prefix a good solution is using the Namespace Builtins Vite plugin from Natemoo-re on githubThe best part you ask? well The best part is this is a super simple thing to setup, and should not be hard at all to include within the core integration as a Vite plugin! see the code example below!
Source (Stackblitz)
closes #130