5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-21 11:29:29 +08:00

Fix wording in runtime docs

This commit is contained in:
Fabio Massaioli 2025-02-25 04:25:34 +01:00
parent 5dbd49606b
commit 026ee7fb78

View File

@ -40,14 +40,14 @@ npm install --save @wailsio/runtime
## Using a pre-built bundle
Some projects will not use a Javascript bundler and may prefer to use a
pre-built version of the runtime. The pre-built version of the runtime
can be generated using the following command:
pre-built bundled version of the runtime. This version can be generated locally
using the following command:
```shell
wails3 generate runtime
```
This will generate a `runtime.js` (and `runtime.debug.js`) file in the current
The command will output a `runtime.js` (and `runtime.debug.js`) file in the current
directory. This file is an ES module that can be imported by your application scripts
just like the npm package, but the API is also exported to the global window object,
so for simpler applications you can use it as follows: