patronage / bubs-timber

Gulp + Timber + WP
Other
5 stars 1 forks source link

ES6 transpile support #107

Closed yuvilio closed 2 years ago

yuvilio commented 4 years ago

With ES6 having gained more common usage, I'm finding wanting to write functions in main.js in it by default, so we can leverage the neater syntax and keep more up to date with the now popularly adopted syntax. There are a few ways we could go about this. Here are two :

I tend to lean toward the former since it seems more popular? But open to thoughts (including whether to even do this in this theme or a separate one? , etc.).