webpack-contrib / webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap
MIT License
12.57k stars 483 forks source link

Replace express with builtin node server #398

Closed TrySound closed 3 years ago

TrySound commented 3 years ago

Alternative to long-standing https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/212

Express in this project does not add much value. Middleware api is not necessary for 1.5 middlwares. We can try to use node server directly.

Serving static is left for express middleware. Can be replaced with something smaller in another PR.

Thanks to @realityking for inspiration