You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by an...@apache.org on 2020/11/20 19:37:55 UTC
[royale-docs] branch master updated: Update compiler-options.md
This is an automated email from the ASF dual-hosted git repository.
andreww pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/royale-docs.git
The following commit(s) were added to refs/heads/master by this push:
new 671cb32 Update compiler-options.md
671cb32 is described below
commit 671cb324f5af591f4d2dfc728fe9b92fa275f67d
Author: Andrew Wetmore <an...@cottage14.com>
AuthorDate: Fri Nov 20 15:37:48 2020 -0400
Update compiler-options.md
Added section for compiler options to reduce output size
---
compiler/compiler-options.md | 32 ++++++++++++++++++++++++++++++--
1 file changed, 30 insertions(+), 2 deletions(-)
diff --git a/compiler/compiler-options.md b/compiler/compiler-options.md
index 410bc1f..8d314bf 100644
--- a/compiler/compiler-options.md
+++ b/compiler/compiler-options.md
@@ -22,10 +22,11 @@ permalink: /compiler/compiler-options
# Compiler Options
-List of Available Compiler Options
+List of available compiler options
## Contents
+**JavaScript compiler options**
* [html-output-filename](compiler/compiler-options.html#html-output-filename)
* [html-template](compiler/compiler-options.html#html-template)
* [js-compiler-option](compiler/compiler-options.html#js-compiler-option)
@@ -39,8 +40,15 @@ List of Available Compiler Options
* [warn-public-vars](compiler/compiler-options.html#warn-public-vars)
* [show-binding-warnings](compiler/compiler-options.html#show-binding-warnings)
+**Reduce output size**
+You can use these options to reduce the size of your compiled application:
+
+* [public symbols](compiler/compiler-options.html#public-symbols)
+* [prevent renaming public symbols](compiler/compiler-options.html#prevent-public-symbol-rename)
+* [prevent renaming internal symbols](compiler/compiler-options.html#prevent-internal-symbol-rename)
+* [prevent renaming public static methods](compiler/compiler-options.html#prevent-public-static-method-rename)
+
-Royale provides these options for its compiler:
## JavaScript compiler options
@@ -230,3 +238,23 @@ Set to false to remove all binding warnings.
```xml
<additionalCompilerOptions>-show-binding-warnings=false;</additionalCompilerOptions>
```
+
+
+## Reduce output size ##
+
+
+### public symbols (#public-symbols)
+information not yet available
+`-export-public-symbols=false`
+
+### prevent renaming public symbols (#prevent-public-symbol-rename)
+information not yet available
+`-prevent-rename-protected-symbols=false`
+
+### prevent renaming internal symbols (#prevent-internal-symbol-rename)
+information not yet available
+`-prevent-rename-internal-symbols=false`
+
+### prevent renaming public static methods (#prevent-public-static-method-rename)
+information not yet available
+`-prevent-rename-public-static-methods=false`