This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch feature/distribution-allignment in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
commit 6dd6e09f542c0e6e1912ee5da596cf0a1515a342 Author: Carlos Rovira <[email protected]> AuthorDate: Wed Mar 3 19:15:39 2021 +0100 todo-jewel-crux: make it work with sdk distribution --- examples/crux/todomvc-jewel-crux/asconfig.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/examples/crux/todomvc-jewel-crux/asconfig.json b/examples/crux/todomvc-jewel-crux/asconfig.json index 14ab179..4453a5a 100644 --- a/examples/crux/todomvc-jewel-crux/asconfig.json +++ b/examples/crux/todomvc-jewel-crux/asconfig.json @@ -21,9 +21,19 @@ "compilerOptions": { "debug": false, "targets": ["JSRoyale"], - "source-map": true + "source-map": true, + "library-path": [ + "${royalelib}/libs/MXRoyale.swc" + ], + "js-library-path": [ + "${royalelib}/js/libs/MXRoyaleJS.swc" + ], + "keep-as3-metadata": [ + "Inject", "Dispatcher", "EventHandler", "PostConstruct", "PreDestroy", "ViewAdded", "ViewRemoved", "Bindable", "Transient" + ], + "js-default-initializers": true }, - "additionalOptions": "-remove-circulars -js-output-optimization=skipAsCoercions", + "additionalOptions": "-compiler.exclude-defaults-css-files=MXRoyaleJS.swc:defaults.css", "files": [ "src/main/royale/App.mxml"
