jgranick opened a new issue #247: (Feature Request) Use ES6 modules URL: https://github.com/apache/royale-asjs/issues/247 The EcmaScript 2015 standard (ES6) introduced a module system, that allows for multiple JavaScript files to import from one another and build complex applications. The latest version of most browsers support ES6 syntax, and even support using these modules without a compiler. The first library we used for bundling modules in the NPM release of OpenFL was browserify, but circular references resulted in needing to remove features from the library. ES6 modules have better handling of cyclic dependencies, depending on the implementation. We use Webpack, and have no circular dependency issues. Being compatible with modern JavaScript toolchains also opens up a wide world of ways to mix/match/interact/expand on the codebase. If Royale supported ES module output, we would gain support for using SWF assets, for granular code splitting, for many, many features "for free" from the NPM community, and make the cost of integrating ActionScript-based sources much lower in an NPM-based project.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services