-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
fix(ios): expose --source-maps CLI flag, default to source maps for non-production builds #10951
Conversation
…ror-controller to flag from option
…ault to on for non-production
|
cc @brentonhouse Can you try this build? Does it help/fix the problems? |
relates to tidev/node-titanium-sdk#106 and appcelerator/titanium_studio#1134 |
@sgtcoolguy, are you seeing any incremental build issues on iOS when enabling/disabling I was running into this issue on Android. The build directory's JS files were not being re-processed. This is because our Edit: |
@jquick-axway I haven't looked into it deeper. I was doing It should be doing a full build if the jsanalyze options change: https://github.com/appcelerator/titanium_mobile/blob/master/cli/lib/tasks/process-js-task.js#L323-L327 which includes the sourceMaps options, but I don't see it checking about the |
…10951) * handle source-maps flag, then tiapp.xml value, then default to on for non-production * move ios --hide-error-controller to flag from option
…idev#10951) * handle source-maps flag, then tiapp.xml value, then default to on for non-production * move ios --hide-error-controller to flag from option
JIRA: https://jira.appcelerator.org/browse/TIMOB-27098
Description:
--source-maps
CLI flag to force generation of source maps--hide-error-controller
to be a flag, not an option (internal refactoring, it's a flag used by test suite so we can continue despite errors)--source-maps
flag is passed to CLI, turn them onsource-maps
tag respect it's value'production'
(deploy type) builds