Open
Description
Since 2.0.0 node.js
is automatically detected in the env and used if available. This makes it impossible to use Closure Compiler
when node.js
is available:
Error: optimizer with name of "closure" not found for this environment
I believe there are three solutions:
- Add a configuration flag to disable autodetecting
node.js
- If
optimize: 'closure'
detected, always useRhino
to prevent the error - Use
node.js
for tracing dependencies butRhino
for minification if Closure Compiler used (I doubt it's technically possible since that's handled byr.js
, but perhaps someone will come up with ideas?)
Metadata
Assignees
Labels
No labels
Activity