nuxt / scripts

Plug-and-play script optimization for Nuxt applications. (Public Preview)
https://scripts.nuxt.com
MIT License
134 stars 9 forks source link

refactor: use vfs for plugin #32

Closed danielroe closed 1 month ago

danielroe commented 1 month ago

Raised an upstream PR to resolve https://github.com/nuxt/scripts/issues/31 - with that in mind I think we can revert back to using VFS instead of writing this to disk. (May have some perf benefit.) If there's another reason you wanted to write it to disk, we can just make the change to addPluginTemplate....

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
scripts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 9:12pm
harlan-zw commented 1 month ago

Perfect thank you. The file does not need to be written, I think I only added this to debug the error.