Updating Spine
- Checkout the Esoteric Spine Runtimes repo to the
spine-runtimesfolder: https://github.com/EsotericSoftware/spine-runtimes/ and make sure this is in theplugins/spinefolder, not theplugins/spine/srcfolder. - Run
npm iinside thespine-runtimesfolder. - Add the
offscreencanvasmodule:npm i --save-dev @types/offscreencanvas. - Add the
source-mapmodule:npm i --save-dev source-map. - Run
npm run plugin.spine.runtimesto build the new runtimes to theplugins/spine/src/runtimesfolder.
You can now build a new version of the Spine Plugin:
npm run plugin.spine.dist.