Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Changed babel preset and use latest node as target when running dev #2484
I also changed so that running
@elhigu I'd have loved to drop babel as well, but unfortunately it might not be possible even when Node 4 is dropped, since many people still use knex in browser environments for query building purposes.
Unless we at that point compromise and leave the transpiling up to the end user, of cousre. That's an option.
AFAIK knex already needs dome trickery when one tries to use it as query builder on web page, like patching some missing requires etc.
I would like to know how many people are actually using it on webpage. One way to figure it out would be to drop support and if there are many people angry about it we could add build for web which omits pool / connection stuff and would work out of box when included to webpage.
Need to think more about it after may :)