Websockets proxying?
Boscop opened this issue · comments
Boscop commented
Thanks for this great plugin. I switched from trunk
to rollup and use this plugin since rollup-plugin-serve
doesn't support API proxying.
Does this plugin also support WebSocket proxying (like trunk or browsersync), or is it planned? :)
That would be great!
For that, it would be nice to support websockets also if they are served on a different port than the API.
Dave Honneffer commented
There's an example of websocket proxying here - https://github.com/pearofducks/rollup-plugin-dev/pull/28/files
There's no plans to add features to this plugin, but I'm pretty sure you can accomplish what you need with the existing functionality.