mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
add README.md to workers-assets-gen command
This commit is contained in:
parent
974f8eb29c
commit
fb933b3dd1
1
_templates/cloudflare/pages-tinygo/go.sum
Normal file
1
_templates/cloudflare/pages-tinygo/go.sum
Normal file
@ -0,0 +1 @@
|
|||||||
|
github.com/go-chi/chi/v5 v5.0.8/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
|
15
cmd/workers-assets-gen/README.md
Normal file
15
cmd/workers-assets-gen/README.md
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# workers-assets-gen
|
||||||
|
|
||||||
|
* `workers-assets-gen` command generates files needed to run `workers` package.
|
||||||
|
- e.g. wasm_exec.js, worker.mjs ...
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
* See `Makefile` in [templates](https://github.com/syumai/workers/tree/main/_templates/cloudflare/worker-tinygo).
|
||||||
|
|
||||||
|
## Supported options
|
||||||
|
|
||||||
|
* `-mode`
|
||||||
|
- switch generated file depends on Go / TinyGo.
|
||||||
|
* `-o`
|
||||||
|
- change output directory (default: `build`)
|
Loading…
x
Reference in New Issue
Block a user