json-server icon indicating copy to clipboard operation
json-server copied to clipboard

move require('errorhandler')

Open casertap opened this issue 6 years ago • 1 comments

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.

casertap avatar Sep 17 '18 11:09 casertap

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

casertap avatar Sep 21 '18 10:09 casertap