mirror of
https://github.com/syumai/workers.git
synced 2025-03-10 17:29:11 +00:00
16 lines
402 B
Markdown
16 lines
402 B
Markdown
# 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`)
|