pearofducks / rollup-plugin-dev

development server for rollup with additional logging and options
MIT License
61 stars 9 forks source link

Update Proxy to koa-http2-proxy for URL rewrite support #12

Closed Rudedog9d closed 3 years ago

Rudedog9d commented 3 years ago

Consider updating the proxy dependency to koa-http2-proxy to support pathRewrite. I was able to swap out the import and it "just worked", but the docs and such may need updated, and it may break backwards compatability.

pearofducks commented 3 years ago

I do agree that trying to accomplish pathRewrite functionality isn't very ergonomic right now - but I'm unlikely to replace the module.

pearofducks commented 3 years ago

v2 provides much better proxy and proxy rewrite support!