Skip to content
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

Support @vitejs/plugin-legacy #24232

Closed
2 of 4 tasks
bgrand-ch opened this issue Nov 10, 2023 · 4 comments
Closed
2 of 4 tasks

Support @vitejs/plugin-legacy #24232

bgrand-ch opened this issue Nov 10, 2023 · 4 comments

Comments

@bgrand-ch
Copy link

bgrand-ch commented Nov 10, 2023

Describe the feature

Thank you for Nuxt.

Nuxt and Vue 3 build the application with the latest ECMAScript standards, which is great.

However, some applications still need to work with old web browsers and in my case SmartTVs.

The Vite plugin @vitejs/plugin-legacy seems ideal, but unfortunately not supported on Nuxt (despite the ability to add Vite plugins). More infos: #15464

I did try to use an alternative from the Nuxt community nuxt-vite-legacy, but unfortunately it is not functional or not documented enough to use it easily.

Could you make the @vitejs/plugin-legacy plugin compatible with Nuxt or add a section in the documentation explaining in detail how to use Babel with Nuxt or other similar services please?

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@bgrand-ch
Copy link
Author

🤔

@danielroe
Copy link
Member

~> #15464 (comment)

@bgrand-ch
Copy link
Author

bgrand-ch commented Nov 23, 2023

@danielroe Thanks for answer. What about this #15464 (comment) 🤔

@danielroe
Copy link
Member

danielroe commented Nov 23, 2023

I'm happy to have an issue to track configuring the load order of bundles if you think that would help you. 🙏

I'd also be happy to document or link to documentation on setting up @vitejs/plugin-legacy - see the repo in the linked issue.

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants