royale-asjs icon indicating copy to clipboard operation
royale-asjs copied to clipboard

js-debug VS js-release

Open sanjeev-rajput opened this issue 6 months ago • 1 comments

i really loves the way code is written and managed in Apache royale JS but as usual most of the developer write and compile code in debug mode and once done then we compile release build.

here all are working fine as expected in js-debug and unable to run in js-release.

code is available at https://github.com/sanjeev-rajput/ruffle-schand-as-js-wasm.git

I also noticed that while reading json/array

e.g. in debug build data.item1 - works fine data['item1'] - works fine in release build data.item1 - in some cases it doesn't work data['item1'] - works fine

sanjeev-rajput avatar Jun 28 '25 10:06 sanjeev-rajput

adding -js-dynamic-access-unknown-members=true as additionalOptions in asconfig.json makes most of things works

sanjeev-rajput avatar Jun 28 '25 10:06 sanjeev-rajput

-js-dynamic-access-unknown-members=true

Yes. That's working as expected.

Harbs avatar Jun 30 '25 17:06 Harbs