Re: Pay as You Go (PAYG) Suggestion

2019-10-08 Thread Alex Harui
The compiler is theoretically designed to allow for different Emitters and Publishers that can output different JS to support other module and minification systems. Volunteers are welcome to work on those. However, the Strands and Beads idea is not about minification for Google Closure or

Re: Pay as You Go (PAYG) Suggestion

2019-10-08 Thread Josh Tynjala
It is worth mentioning that Royale uses Google's Closure compiler when creating release builds. Closure compiler does very advanced JavaScript code analysis that eliminates unused code from the final output, so it has a very similar effect to tree shaking. The ability to integrate into a webpack

Pay as You Go (PAYG) Suggestion

2019-10-08 Thread Chris Velevitch
If the whole point of PAYG is to eliminate unused code from being included in the final app distribution, then I'd like to suggest that we take advantage of the tools the JavaScript ecosystem already has for eliminating unused code. I think we should take a look at Webpack [1] and create a