It's amazing how many dependencies serve brings in just to perform the basic act of serving some local files.
Coupled to that, it hasn't been updated in 6 months and has a High vulnerability dependency on path-to-regexp, so I decided to write our own simple dev server without any bells or whistles. We also use this in puppeteer tests, to host the UI.
I upgraded all other dependencies while I was at it.
It's amazing how many dependencies
serve
brings in just to perform the basic act of serving some local files.Coupled to that, it hasn't been updated in 6 months and has a High vulnerability dependency on path-to-regexp, so I decided to write our own simple dev server without any bells or whistles. We also use this in puppeteer tests, to host the UI.
I upgraded all other dependencies while I was at it.