Closed vansimke closed 7 years ago
@vansimke, thanks!
@vansimke, when a Java-driven build gets to apply the Google Closure Compiler it throws errors on every file it processes, like the one below:
starting executing global optimizations... starting writing resources... error(356) The optimizer threw an exception; the module probably contains syntax errors. module identifier: put-selector/put; exception: TypeError: Cannot read property "compilationLevel" from undefined
I think bc.optimizeOptions
in https://github.com/vansimke/util/blob/69d1bf30b81482e1fe7ffbe24ac278a2d07bd404/build/transforms/optimizer/closure.js#L55 is undefined
.
This PR was created to add features that were missed in PR 54