codyhouse/codyhouse-framework

Suggestion for more integration with ES6

reece-barker opened this issue · 2 comments

Hi, I think adapting your gulpfile.js like I have done in the files attached will be better for more use cases as my of us particularly me use alot of ES6 syntax and operators and working with older version of JS for the components is harder. I have attached files on my gulpfile.js which will show you what to do that enables ES6 compiling. (Ignore the nodemon section that is just a custom thing). Thanks :) (Let me know if you need any help working with gulp I know the compiling is great but they havent expanded the tool very well with JS ;) )

Screenshot 2021-01-09 at 01 56 33
Screenshot 2021-01-09 at 01 56 46
Screenshot 2021-01-09 at 01 56 22
Screenshot 2021-01-09 at 01 56 54

@MasionGIT Are you able to provide any more info on how you are integrating es6? For me the util.js file can't be read whenever the js is bundled up which makes the components pretty useless.

@JonQuayle Hi there, this is a closed issue.
You can use the open discussion if you want to share more info about this topic:
#75

Cheers!