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

Remove webpack from runtime dependencies #2090

Open
axetroy opened this issue Mar 6, 2025 · 0 comments
Open

Remove webpack from runtime dependencies #2090

axetroy opened this issue Mar 6, 2025 · 0 comments

Comments

@axetroy
Copy link

axetroy commented Mar 6, 2025

https://github.com/search?q=repo%3Avuejs%2Fvue-loader%20require(%27webpack&type=code

I found that the plugin has a runtime dependency on webpack.

As rspack matures, this is a barrier to migration.

We should remove the runtime dependency on webpack

We can get the webpack's Plugin via compiler instead of require('webpack'), which is compatible with webpack-like bundler(eg. rspack)

Image
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

No branches or pull requests

1 participant