rollup-plugin-serve
rollup-plugin-serve copied to clipboard
Serve your rolled up bundle like webpack-dev-server
if content type is compressible (https://github.com/jshttp/compressible) then it would be cool to add compression via zlib or something like that.
add new option autoPort to enable auto change port when port in conflict.
Tested that fallback works as expected.
Adds basic proxy support similar to the most basic webpack-dev-server usage. This is pretty bare-bones right now, but can be amended to support the extended syntax. Should resolve #17.
Added `indexFiles` and `fileExtensions` options for allowing more fine-grained config over the served files, focused on esm loading in the browser (importing folders or extensionless files) but not limited to...
The plugin does not set desired headers for audio/video files. **Expected Headers:** ``` Accept-Ranges: bytes Content-Length: 489468 Content-Range: bytes 0-489467/489468 Content-Type: audio/mpeg ``` **Received Headers:** ``` Connection: keep-alive Content-Type: audio/mpeg...
Tried this code, and it works fine for the static file, it reads my index.html and serves it, but my dist folder is never served. ```html Button Sandbox ``` ```typescript...
Hello, is it possible to print out the local network IP, f.e. just as npx serve does?  Regards
Hi, npm readme is old, and exist some error as follows:  And i think it should incloud `proxy` props in npm readme, because `proxy` is important as dev serve....