Sorry, missed that.

So to expand a bit on Carlos’s answer, using emulation will probably cut down 
dev time but will certainly increase app size. If you are looking for the 
leanest solution that’s what Basic is for. Jewel is less focused on app size 
but will probably still be somewhat smaller than emulation. I don’t think we 
ever made precise measurements, but that’s the general idea.

Hope this helps.

From: Carlos Rovira<mailto:carlosrov...@apache.org>
Sent: Tuesday, October 20, 2020 6:13 PM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: How to minify mxroyale\HelloWorld .js file

Hi Yishay,

he's talking about reducing size of the js-release version

El mar., 20 oct. 2020 a las 17:07, Yishay Weiss 
(<yishayj...@hotmail.com<mailto:yishayj...@hotmail.com>>) escribió:
There should be [1] a minified version under js-release

[1] https://apache.github.io/royale-docs/get-started/hello-world


From: Carlos Rovira<mailto:carlosrov...@apache.org>
Sent: Monday, October 19, 2020 11:06 PM
To: users@royale.apache.org<mailto:users@royale.apache.org>
Subject: Re: How to minify mxroyale\HelloWorld .js file

Hi,

Don't think so. I'm not an expert on Flex emulation in Royale but it's trying 
to work as Flex did, so I think if original flex hello world was around 500kb 
is normal that emulation is around that size.

Although Royale has a better architecture based on PAYG and strand/beads, only 
using UI Sets like Basic or Jewel will make you get better and lower sizes in 
your app.

That's one of the tradebacks in using emulation vs a newer ui set you get it 
working with less changes in your code, but the size will be pretty similar I 
think.



El lun., 19 oct. 2020 a las 16:41, Piotr Grudzinski 
(<pi...@powersmiths.com<mailto:pi...@powersmiths.com>>) escribió:
Hi all,

I have built the the mxroyale\HelloWorld example using a command line with the 
following options:
-debug=false -targets=JSRoyale +configname=flex
The HelloWorld.js file in the js-release folder is 504KB in size which feels 
quite big for such a simple application.
Are there any compiler options available to minify the generated .js file?
Any other ideas to minify it?

Regards,
Piotr



--
Carlos Rovira
Apache Member & Apache Royale PMC
Apache Software Foundation
http://about.me/carlosrovira




--
Carlos Rovira
Apache Member & Apache Royale PMC
Apache Software Foundation
http://about.me/carlosrovira


Reply via email to