Closed okdistribute closed 8 years ago
uh oh, that doesn't sound good - I think it's because local transforms (-t
) are run before global transforms (-g
) and that messes up the yo-yoify
bits. I think the solution here is to run:
$ browserify -g yo-yoify -g es2020 app.js > bundle.js
Let me know if that works for you :sparkles:
@yoshuawuyts awesome!!! that worked!
thank you!
!!! big ups, thanks
hey @yoshuawuyts and @shama,
It seems like using
browserify -g yo-yoify -t es2020 app.js > bundle.js
is givingapp.js:56628 Uncaught TypeError: yo is not a function
For now, we just turned off es2020, but it'd be nice to have it so we can use uglifyjs with yo-yo
/cc @laurengarcia