Hey - I have a project: https://github.com/deanius/meteor-promise, which use JS generators (function* ()
), and whose tests pass when run via meteor test-packages ./
However, tests fail in Spacejam, and I can’t deploy because the standard-minifiers
package complains about the *
used to define the generator function.
/Users/deanius/.meteor/packages/standard-minifiers/.1.0.1.1lit17x++os+web.browser+web.cordova/plugin.minifyStd.os/npm/minifiers/node_modules/uglify-js/lib/parse.js:196:18:
Unexpected token operator «*», expected punc «(»
at new JS_Parse_Error
Is this a bug in standard-minifiers ? Again - runs fine locally, passes tests, but won’t deploy. Feels like a build system problem to me.