Skip to content

Conversation

@mistydemeo
Copy link
Contributor

The default Hubot require entrypoint is only compatible with CoffeeScript. A separate entrypoint has to be used when writing ES2015 classes. This isn't currently documented; I got bit by this when writing an ES2015 class that extends a Hubot class, and it took me awhile to track down the comment that mentions it: hubotio/evolution#4 (comment)

The default Hubot require entrypoint is only compatible with
CoffeeScript. A separate entrypoint has to be used when writing ES2015
classes.
@technicalpickles technicalpickles merged commit 466ae89 into master Jan 10, 2019
@technicalpickles technicalpickles deleted the adapter_es2015_note branch January 10, 2019 20:12
@hubotbot
Copy link

🎉 This PR is included in version 3.2.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants