You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2020/11/20 18:13:22 UTC
[royale-asjs] branch develop updated: todomvc-examples:
optimization with new compiler options
This is an automated email from the ASF dual-hosted git repository.
carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 658c6eb todomvc-examples: optimization with new compiler options
658c6eb is described below
commit 658c6eb45b3049b8a239fc471492b99bd525f68d
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Nov 20 19:13:08 2020 +0100
todomvc-examples: optimization with new compiler options
---
examples/crux/todomvc-jewel-crux/pom.xml | 6 ++++++
examples/jewel/todomvc/pom.xml | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/examples/crux/todomvc-jewel-crux/pom.xml b/examples/crux/todomvc-jewel-crux/pom.xml
index fe73edf..f87a581 100644
--- a/examples/crux/todomvc-jewel-crux/pom.xml
+++ b/examples/crux/todomvc-jewel-crux/pom.xml
@@ -48,6 +48,12 @@
-keep-as3-metadata+=Inject,Dispatcher,EventHandler,PostConstruct,PreDestroy,ViewAdded,ViewRemoved,Bindable,Transient;
-source-map=true;
-compiler.exclude-defaults-css-files=MXRoyale-${royale.framework.version}-js.swc:defaults.css;
+
+ -export-public-symbols=false
+ -prevent-rename-protected-symbols=false
+ -prevent-rename-internal-symbols=false
+ -prevent-rename-public-static-methods=false
+
</additionalCompilerOptions>
</configuration>
</plugin>
diff --git a/examples/jewel/todomvc/pom.xml b/examples/jewel/todomvc/pom.xml
index a196c9b..a1574a2 100644
--- a/examples/jewel/todomvc/pom.xml
+++ b/examples/jewel/todomvc/pom.xml
@@ -44,6 +44,12 @@
<htmlTemplate>${basedir}/target/javascript/bin/js-debug/todomvc-index-template.html</htmlTemplate>
<additionalCompilerOptions>
-source-map=true;
+
+ -export-public-symbols=false
+ -prevent-rename-protected-symbols=false
+ -prevent-rename-internal-symbols=false
+ -prevent-rename-public-static-methods=false
+ -prevent-rename-public-instance-methods=false
</additionalCompilerOptions>
</configuration>
</plugin>