-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
js-debug vs js-release #1217
Comments
Regarding your first point: What does your template html file look like? Make sure you have the Regarding your second point, please read this page: https://apache.github.io/royale-docs/create-an-application/optimizations/minification |
Actually, here's what I have in my template file:
|
@Harbs - it does works the main confusion is - you won't find "Main.min.css" in debug mode but it appears in "js-release" this is what my index-template.html <title>Learning Module</title>
asconfig.json |
It does probably make sense to not add the |
1. CSS file
Build works with "js-debug" but in "js-release" compiler change file name Main.css to Main.min.css but entry of css file doesn't reflects in "index.html"
either css file name should not be change or correct new file name must be added in index.html
2. Reading JSON file
in "js-debug"
_data is a JSON object
for each(var i:Object in _data){
trace(i.topic);
}
this works perfectly fine in "js-debug" but doesn't works in "js-release" it has to be change as below
for each(var i:Object in _data){
trace(i['topic']);
}
"js-debug" approach is standard one i think "js-release" must follow the same
The text was updated successfully, but these errors were encountered: