MH-Tools icon indicating copy to clipboard operation
MH-Tools copied to clipboard

Improve build (and dox) to allow easy dev work

Open Trevor-van-L opened this issue 1 year ago • 0 comments

Currently when testing locally you have to manually switch all the URLs to point to localhost instead of Tsitu. This is a pain in the pita. We should instead have a build flag decide which URL to point at. This decreases the likelihood of someone committing localhost URLs too.

Xellis suggests looking at webpack.

Xellis also suggests customizing http-server to disable caching and allow CORS from all origins in the dev build

This should all be documented

Trevor-van-L avatar May 28 '23 22:05 Trevor-van-L