Closed vansimke closed 7 years ago
@vansimke, thank you! Before I go forward checking the fix, I see closure.js lacks much of the build features that optimizeRunner,js has. See https://github.com/vansimke/util/blob/15372bb4f524cc3f6066f106bd3967c40ce8eb7f/build/optimizeRunner.js#L105-L243.
Sorry, you have a good point. I'm trying to change as few things as possible to prevent the chance of introducing new regressions, but this should have been included. It is in master now.
@vansimke, you think you'd add the missing build features too, before dojo 1.12 goes release?
Yes, we'd include those changes (currently at the tip of the master branch) into 1.12.
@vansimke, see my comment here, please: https://github.com/dojo/util/commit/bd14cf587be958c3d38aad91bdde9a4f43f900f4#commitcomment-20156095.
@sindilevich I've added that here: https://github.com/dojo/util/pull/55. Let's use that PR to continue this discussion since I've already closed and merged this one.
updated closure.js to implement the same fix as was added to optimizeRunner.js to fix Java-driven builds
moved setting of deadAssignmentElimination to be above application of settings from build profile to allow user to override, if they desire