powerfear Posted July 26, 2014 Share Posted July 26, 2014 Hello, I've been working on a ES6 version of Pixi.js and I thought I'd share it in case anyone is interested in using it. It's currently updated to the latest commit of the dev branch as of this post. I've been updating it for a while and I intend to continue doing so, at least for a little while. You can get it right here: https://github.com/powerfear/pixijs-es6 You can directly use the src in the "src" folder with whatever setup you like to convert it to ES5. There is also a commonjs folder which basically contain the ES6 source transpiled to ES5 + Commonjs for the import. This can be used with browserify, pure-cjs or similar commonjs build tools. For an example of a possible workflow you can checkout: https://github.com/powerfear/es6-workflow I am basically using https://github.com/square/es6-module-transpiler for final builds while I convert the import to commonjs and use https://github.com/RReverser/pure-cjs during development as it is about 7 times faster to build in my case. I am still working on improving and simplifying the workflow. If you have suggestions feel free to leave them here, send me pull request, issues. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.