-
Notifications
You must be signed in to change notification settings - Fork 196
[Bug]: unplugin-vue-define-options
is not available
#4678
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
Comments
Maybe relate to unplugin/unplugin-vue-components#829 |
Fixed on the Vue Macros side. This issue can be closed. |
Nice bro 👍 |
Released as |
Hi sxzz and team, Apologies for commenting on a closed issue, however, as a user currently constrained to Vue 2.7 due to various reasons, I’d like to kindly ask a related question. First, thank you again for addressing the defineOptions issue in Vue Macros v3.0.0-beta.2! 🌟 We’re currently using Is there a plan to backport the fix (related to experimentalInlineMatchResource) to the Vue 2.7-compatible @vue-macros/[email protected] versions? Alternatively, could you advise on a sustainable configuration for Vue 2.7 projects using rsbuild and Vue Macros’ legacy versions? We’d appreciate any guidance to ensure compatibility without blocking rsbuild upgrades. Thanks for your time and efforts! 🙌 rsbuild still supports Vue 2.7, so a backward-compatible fix would greatly help the Vue 2.7 community. Current workaround: Disabling experimentalInlineMatchResource works, but we aim for a long-term solution. (Feel free to close this thread if a new issue is preferred for further discussion!) |
I understand your situation, but the issue is that our community can’t support Vue 2 indefinitely. This is why libraries like Pinia and VueUse have gradually dropped support for Vue 2. However, the problem still needs to be addressed. Here are a few recommended solutions:
We might consider backporting support after the v3 version stabilizes. |
patch-package! I hadn't considered that, thank you for your recommended solutions! I fully understand and respect your support policy for Vue 2. It is definitely well-considered and reasonable. At the same time, I look forward to your good news. Finally, I am still sorry for continuing to comment in the closed issue and thank you very much for your detailed and serious reply. |
Uh oh!
There was an error while loading. Please reload this page.
Version
Details
When I upgrade
@rsbuild/core
to 1.2.12 defineOptions cannot be used, fallback to 1.2.11 everything works fine.Reproduce link
https://github.com/coderwyd/rsbuild-repo
Reproduce Steps
bun install && bun run dev
The text was updated successfully, but these errors were encountered: