Skip to content

Support access the DevServer instance from a Webpack plugin #5025

Open
@fightwithtiger

Description

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?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions