Refactor code to ES6 and introduce automatic babel translation to es5 in an iife format that can be consumed by ES5 and ES6 versions of the engine and editor.
Maintains compatibility with existing code by exposing the underlying spine library for user's scripts as a global variable called "spine".
Recommend version increment if accepted.
In addition:
Organise Assets and Examples for clarity
Removes unused prebuilt library
Replaces http-server for serve to align to pc standards
Refactor code to ES6 and introduce automatic babel translation to es5 in an iife format that can be consumed by ES5 and ES6 versions of the engine and editor.
Maintains compatibility with existing code by exposing the underlying spine library for user's scripts as a global variable called "spine".
Recommend version increment if accepted.
In addition:
Fixes: https://github.com/playcanvas/playcanvas-spine/issues/79 Fixes: https://github.com/playcanvas/engine/issues/5399 Unblocks: https://github.com/playcanvas/engine/issues/5521
Editor Demo: https://playcanvas.com/project/1124022/overview/spine-41-demo
I confirm I have read the contributing guidelines and signed the Contributor License Agreement.