rajveermalviya / tsukuru

build tool for Go apps targeting android and web
Apache License 2.0
8 stars 2 forks source link

web support #1

Open rajveermalviya opened 2 years ago

rajveermalviya commented 2 years ago

ability to tsukuru run web and tsukuru build web

gedw99 commented 1 year ago

suggest that we add caddy and mkcert as its gives dev a proper https set and make running and testing the wasm really easy.

gedw99 commented 1 year ago

add /examples/wasm/main.go with real example.

rajveermalviya commented 1 year ago

I think tsukuru run wasm should only be used in development environment, so needing caddy & mkcert may be unnecessary.

Because afaik all the browser features that are limited to Secure contexts (https) are available in localhost for developers.

Though, we can definitely have some docs using caddy somewhere for folks who want to do a production deployment.

gedw99 commented 1 year ago

Ok

gedw99 commented 1 year ago

I use caddy with mkcert anyway using a simple makefile. Just easier