Package-Level Functions (only one, which is exported)
Build compiles TypeScript files into minified JavaScript
files using github.com/evanw/esbuild. When run with watch=true
sourcemaps are placed inline, the output is unminified, and
changes to any TypeScript files will force a rebuild of the
JavaScript output.
This function is used in Server.staticHandler with watch=true
when cmd/frontend is run in dev mode and in
devtools/cmd/static/main.go with watch=false for building
productionized assets.
The pages are generated with Goldsv0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.