Skip to content

fix: add test cases for vue import defer - #2318

Merged
wre232114 merged 8 commits into
mainfrom
copilot/fix-defer-support-issue
Jun 14, 2026
Merged

fix: add test cases for vue import defer#2318
wre232114 merged 8 commits into
mainfrom
copilot/fix-defer-support-issue

Conversation

Copilot AI commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

The Rust Vue plugin changes for deferred import parsing need to be rolled back. This narrows the branch back to example-level defer coverage without extending the Rust plugin API surface.

  • Rust Vue plugin

    • Removed the script.babelParserPlugins option from the TypeScript API.
    • Removed Rust option deserialization for script.babelParserPlugins.
    • Removed the deferred import evaluation plugin test.
  • Vue example config

    • Restored examples/vue to use the default string plugin registration:
plugins: [
  '@farmfe/plugin-vue',
  '@farmfe/plugin-sass',
]

@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
farm-docs Ready Ready Preview, Comment Jun 13, 2026 2:28pm

Copilot AI linked an issue Jun 4, 2026 that may be closed by this pull request
@changeset-bot

changeset-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 3d1989c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

💥 An error occurred when fetching the changed packages and changesets in this PR
Some errors occurred when validating the changesets config:
The package or glob expression "farm-docs" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch
The package or glob expression "bench" is specified in the `ignore` option but it is not found in the project. You may have misspelled the package name or provided an invalid glob expression. Note that glob expressions must be defined according to https://www.npmjs.com/package/micromatch

Copilot AI changed the title [WIP] Fix defer support feature in Vue example Support Vue defer parser option Jun 4, 2026
Copilot AI requested a review from wre232114 June 4, 2026 03:21
Copilot AI changed the title Support Vue defer parser option Add defer import coverage to Vite Vue example Jun 4, 2026
Copilot AI changed the title Add defer import coverage to Vite Vue example Rollback Rust Vue plugin defer parser changes Jun 5, 2026
…oject

- move deferred import example from vite-adapter-vue to vite-adapter-vue-sfc-src
- update @vitejs/plugin-vue to v6.0.7 across both example projects
- add deferred import parser plugin config to new example project
- remove old deferred import code and tests from original example project
@wre232114
wre232114 marked this pull request as ready for review June 13, 2026 14:45
@wre232114 wre232114 changed the title Rollback Rust Vue plugin defer parser changes fix: add test cases for vue import defer Jun 13, 2026
@wre232114
wre232114 merged commit 2000ef8 into main Jun 14, 2026
88 of 90 checks passed
@wre232114
wre232114 deleted the copilot/fix-defer-support-issue branch June 14, 2026 00:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Support defer.

2 participants