satori 0.18.0 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/standalone.cjs +7 -7
- package/dist/standalone.cjs.map +1 -1
- package/dist/standalone.js +7 -7
- package/dist/standalone.js.map +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -410,7 +410,7 @@ If there is a limitation on dynamically loading WASM (e.g. Cloudflare Workers),
|
|
|
410
410
|
|
|
411
411
|
Satori's standalone build doesn't include Yoga's WASM binary by default, and you need to load it manually before using Satori.
|
|
412
412
|
|
|
413
|
-
First, you need to download the `yoga.wasm` binary from
|
|
413
|
+
First, you need to download the `yoga.wasm` binary from [Satori build](https://unpkg.com/satori/) and provide it yourself. Let's use `fetch` to load it directly from the CDN as an example:
|
|
414
414
|
|
|
415
415
|
```jsx
|
|
416
416
|
import satori, { init } from 'satori/standalone'
|