mirror of
https://github.com/photonstorm/phaser
synced 2024-11-21 12:13:19 +00:00
Update README.md
This commit is contained in:
parent
c7f95ba407
commit
f3efd68363
1 changed files with 4 additions and 3 deletions
|
@ -2,10 +2,11 @@
|
|||
|
||||
1. Checkout the Esoteric Spine Runtimes repo to the `spine-runtimes` folder: https://github.com/EsotericSoftware/spine-runtimes/ and make sure this is in the `plugins/spine` folder, not the `plugins/spine/src` folder.
|
||||
2. Run `npm i` inside the `spine-runtimes` folder.
|
||||
3. Add the `source-map` module: `npm i --save-dev source-map`.
|
||||
4. Run `npm run plugin.spine.runtimes` to build the new runtimes to the `plugins/spine/src/runtimes` folder.
|
||||
3. Add the `offscreencanvas` module: `npm i --save-dev @types/offscreencanvas`.
|
||||
4. Add the `source-map` module: `npm i --save-dev source-map`.
|
||||
5. Run `npm run plugin.spine.runtimes` to build the new runtimes to the `plugins/spine/src/runtimes` folder.
|
||||
|
||||
You can now build a new version of the Spine Plugin:
|
||||
|
||||
5. `npm run plugin.spine.dist`.
|
||||
6. `npm run plugin.spine.dist`.
|
||||
|
||||
|
|
Loading…
Reference in a new issue