@playcanvas/supersplat-viewer 1.26.3 → 1.27.0

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 CHANGED
@@ -110,6 +110,16 @@ To initialize a local development environment for SuperSplat Viewer, ensure you
110
110
 
111
111
  4. Open your browser at http://localhost:3000.
112
112
 
113
+ ### Debug engine build
114
+
115
+ By default the viewer links against the release build of the PlayCanvas engine. Set `ENGINE=debug` to link against the engine's debug build instead, which includes runtime assertions and unminified, readable source for easier debugging:
116
+
117
+ ```sh
118
+ ENGINE=debug npm run develop
119
+ ```
120
+
121
+ This also works with `npm run build` and `npm run watch`.
122
+
113
123
  ## Settings Schema
114
124
 
115
125
  The `settings.json` file uses the schema below (defined in TypeScript and exported from `@playcanvas/supersplat-viewer/settings`). Legacy v1 settings produced by older SuperSplat releases are automatically migrated to v2 on load.