Skip to content

fix(plugin-vue): order problem with pluginReact#4713

Merged
chenjiahan merged 2 commits intomainfrom
plugin_vue_order_0305
Mar 5, 2025
Merged

fix(plugin-vue): order problem with pluginReact#4713
chenjiahan merged 2 commits intomainfrom
plugin_vue_order_0305

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Ensure that the VueLoaderPlugin is applied before the ReactFastRefreshPlugin, otherwise the VueLoaderPlugin will throw an error for builtin:react-refresh-loader.

The root cause is that VueLoaderPlugin ignored the include option of rules. See https://github.com/vuejs/vue-loader/blob/main/src/pluginWebpack5.ts#L319-L321

Related Links

#4712

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 5, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 4074b4b
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/67c817a9a966a50008e9a1e7
😎 Deploy Preview https://deploy-preview-4713--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 53 (🟢 up 7 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@chenjiahan chenjiahan merged commit 08bb313 into main Mar 5, 2025
@chenjiahan chenjiahan deleted the plugin_vue_order_0305 branch March 5, 2025 15:54
@chenjiahan chenjiahan mentioned this pull request Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant