json-server
json-server copied to clipboard
move require('errorhandler')
This will avoid having this package in the production bundle. Also this package makes the server fail because it is referencing static files using fs.
Please review this change. For some reason, I need to build my json-server with webpack and errorhandler
get included and make my bundle fail because it can not find /public/style.css
Look at this issue for more details: https://github.com/typicode/json-server/issues/855