Skip to content

Commit

Permalink
Update pixi.md
Browse files Browse the repository at this point in the history
Remove the extra brackets, which is an invalid JSON format.

For example, it should be:
```
pixiPipes({
			texturePacker: { texturePacker: { nameStyle: 'short' }},
}),
```

Instead of :
```
pixiPipes({
			texturePacker: {{ texturePacker: { nameStyle: 'short' }}},
}),
```

P.S. I found having two `texturePacker` keys confusing and couldn't get it to work with just one on the first try.
  • Loading branch information
furic authored Sep 13, 2024
1 parent 8c64a16 commit ed371f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/docs/guide/getting-started/pixi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This setup also abstracts away some of the more complex features of AssetPack, t
| cacheBust | `boolean` | Whether to append a cache-busting query string to the asset URLs. Defaults to `true` |
| resolutions | `Record<string, number>` | A map of resolution names to scaling factors. Defaults to `{ default: 1, low: 0.5 }` |
| compression | `CompressOptions` \| `false` | Options for compressing the output files. Defaults to `{ jpg: true, png: true, webp: true }` |
| texturePacker | `TexturePackerOptions` | Options for generating texture atlases. Defaults to `{{ texturePacker: { nameStyle: 'short' }}}` |
| texturePacker | `TexturePackerOptions` | Options for generating texture atlases. Defaults to `{ texturePacker: { nameStyle: 'short' }}` |
| audio | `Partial<FfmpegOptions>` | Options for compressing audio files. Defaults to `{}` |
| manifest | `PixiManifestOptions` | Options for generating a PixiJS manifest file. Defaults to `{ createShortcuts: true }` |

Expand Down

0 comments on commit ed371f4

Please sign in to comment.