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 access the DevServer instance from a Webpack plugin #5025

Open
fightwithtiger opened this issue Aug 4, 2023 · 2 comments
Open

Support access the DevServer instance from a Webpack plugin #5025

fightwithtiger opened this issue Aug 4, 2023 · 2 comments

Comments

@fightwithtiger
Copy link

Feature request

What is the expected behavior?
Is it possible to access DevServer instances from the Webpack plug-in somehow? I want to send custom events from server to client.

This is totally possible with Vite.js, but wonder if there is also a way with Webpack.

What is motivation or use case for adding/changing the behavior?

How should this be implemented in your opinion?
A new hook is provided in the plugin to access devServer

Are you willing to work on this yourself?

@webpack-bot
Copy link

This issue had no activity for at least three months.

It's subject to automatic issue closing if there is no activity in the next 15 days.

@webpack-bot
Copy link

Issue was closed because of inactivity.

If you think this is still a valid issue, please file a new issue with additional information.

@alexander-akait alexander-akait transferred this issue from webpack/webpack Dec 19, 2023
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

3 participants