Closed watzon closed 8 years ago
+1
I was just thinking this the other day. Transpiling would be a killer feature right now.
Babel may be helpful. https://babeljs.io
Similar to #554
+1 please devs!
+1
Another +1
Hey guys. I'm not ignoring you.
Here's the top-secret info: there's a build of CodeKit with Babel built in and working perfectly. (Among many other popular requests on this GitHub page.) It's not ready for public release yet, but I'm getting close to a closed alpha test, followed by a closed beta, followed by blowing people's minds.
Hang in there. I'll ask for testers on Twitter in probably a month or so.
@bdkjones Any updates on the update?
Do we really want CK to do this? In the end, what are you trying to achieve? With all the respect to CK, isn't out there tool better thank CK to achieve same results? Are you writing app in React? If so, pick Webpack (or Browserify), get yourself hot transformation (hot loading) and use CK for other stuff which it handles just great... Once again, love CK, awesome job here! :)
If you're going to go that road, it might make better sense to use something like gulp. I think there are a bunch of nice use cases for Babel support in CK. If you've got a longstanding CK workflow (let's say with less, jshint, and uglify), and you just want to dip your toe into React by folding in a few components, it would be awfully nice to have have your React/jsx code drop right into that same workflow (linted, ES6 transformed, jsx transformed, then all uglified -- along with your regular JS stuff). Likewise, even without React you might want to start adding ES6isms to your JS; if the CK pipeline could pass your JS through Babel, it would make it very easy to jump in with ES6 at your leisure.
Plz add this https://babeljs.io/
I would like it too...
@bdkjones if you are still looking for testers I would be happy to help. I have 40+ sites with day to day maintenance as well as a handful of React projects in the mix. Gulp/Grunt are driving me insane!
Soon.
On 29Feb 2016, at 08:44, Adam Patterson notifications@github.com wrote:
@bdkjones https://github.com/bdkjones if you are still looking for testers I would be happy to help. I have 40+ sites with day to day maintenance as well as a handful of React projects in the mix. Gulp/Grunt are driving me insane!
— Reply to this email directly or view it on GitHub https://github.com/bdkjones/CodeKit/issues/562#issuecomment-190282887.
+1! Yes please! I need it for the latest foundation´s version 6.2.0 https://github.com/zurb/foundation-sites/wiki/Upgrading-to-Foundation-6.2
The JavaScript is now written in ES2015, which means if you consume the js/ folder of the Foundation package as part of a build process, it will need to be transpiled using Babel.
👍 !!
The modern JavaScript workflow with CLI task runners is wonderful for advanced and expert developers, but I think CodeKit supporting ES6 transpiling would be an excellent way to help beginners and intermediate developers start using the future of JavaScript.
💯
Just wondering whether CodeKit is still a live project? I am trying it as a simple alternative to command line stuff but can't get it to work with Foundation 6.2. It all looks fine but the concatenated js thrown an error in browsers - I thinks it's a Babel thing? Should I just give up on this?
Oh Christ yes CodeKit is still alive. Version 3 is just about ready to go and has Babel.
Thanks Brian I know you closed this but what does this error mean?
[Error] TypeError: e.indexOf is not a function. (In 'e.indexOf(" ")', 'e.indexOf' is undefined)
@fiunary e
has no method indexOf()
... is this related to CodeKit or your own code?
hi @tconroy. No that's just concatenating query.js and foundation.js
Babel is required to process JS in Foundation 6.2. It’s all in CodeKit 3, the Foundation team just went to Babel a little ahead of me.
On 26 Aug 2016, at 16:23, fiunary notifications@github.com wrote:
hi @tconroy https://github.com/tconroy. No that's just concatenating query.js and foundation.js
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/bdkjones/CodeKit/issues/562#issuecomment-242875012, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4jZtLqrFZzhUVTEZRM-JsJK_lRgMK_ks5qj3VjgaJpZM4Ets5c.
thanks @bdkjones I am finding it hard to find out what best to do. Is the issue to do with Babel? The foundation package I have is the one downloaded via Codekit. Does it not work with Codekit? Is there a work around? I have Googled for quite a time but can't find an answer. Really appreciate the support.
@fiunary you could try and get into the CodeKit 3 beta. https://incident57.com/codekit/3/
@tconroy I don't think i would be usefull! Anything else to do or is it best to stick with Gulp for the moment?
Foundation 6.2 works fine with CodeKit 2 as long as you don’t have to process the JS file.
On 26 Aug 2016, at 16:31, fiunary notifications@github.com wrote:
@tconroy https://github.com/tconroy I don't think i would be usefull! Anything else to do or is it best to stick with Gulp for the moment?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bdkjones/CodeKit/issues/562#issuecomment-242876084, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4jZm0-wjbp45wq-x98rVenF6XBrTurks5qj3dpgaJpZM4Ets5c.
Thanks. Looking forward to CodeKit3
It would be really nice if we could just compile the
.es6.js
extension to ES5