These are chat archives for jescalan/roots

28th
Jan 2016
Jeff Escalante
@jescalan
Jan 28 2016 09:13
@k00k @declandewet yeah I mean it's a jade issue, but also is a very frequent question so I wouldn't mind having maybe an article on it at roots.cx/articles
@johnpeele npm i hamljs -S then change the file extension to .haml
David Eglin
@djeglin
Jan 28 2016 10:25
Hmm. Also, because I want to try and get this kind of stuff right at the start rather than trying to sort it out later… Is there a way using accord to set Stylus's compress option?
Steve Babigian
@k00k
Jan 28 2016 15:21
@declandewet and @jenius still no joy unfortunately with babel-core. My npm is at version 3.5.3. Is there anything that needs to be done in roots to tell it to use babel and .babelrc? Likebabel-register or something? Sorry if this is getting long in the tooth.
Declan de Wet
@declandewet
Jan 28 2016 19:07
@k00k I've become aware of some slight instability in regards to babel and one of the later Roots releases. I think if you ensure you're using roots@3.1.0 you might be leaning more towards a win, but it also might be worth the effort to investigate babel usage through configuring your project to use roots-browserify to bundle your JS, with the appropriate Browserify babel transform
@djeglin there is, but I highly recommend that you forego Stylus' compress option and instead use either PostCSS (set up with a transform that compresses css) or roots-css-pipeline to compress your CSS
Steve Babigian
@k00k
Jan 28 2016 19:09
@declandewet ok, i’ve been using roots 3.2.2 on the browsersync branch per @jenius suggestion, I can give 3.1.0 a shot
Declan de Wet
@declandewet
Jan 28 2016 19:10
try both @k00k - I'm by no means an expert on Roots + ES2015. I used to be, but that was before Babel 6 came out
Steve Babigian
@k00k
Jan 28 2016 19:10
i ended up here because I wasn’t having much luck with browserify in roots
Declan de Wet
@declandewet
Jan 28 2016 19:11
what I do know for sure is that very recently (after the Roots 3.2.2 release), one of the carrot.is team members was able to get a working ES2015 roots with browserify
I would ask him but he seems to be offline and I work from South Africa as a remote hire
Steve Babigian
@k00k
Jan 28 2016 19:12
no worries. whereabouts in SA?
Declan de Wet
@declandewet
Jan 28 2016 19:12
I hop between cape town and joburg. Joburg-bred, but lived in CT as well
Steve Babigian
@k00k
Jan 28 2016 19:15
ah, one of my friends is from Durban originally, but his family now lives just south of joburg
near Parys
Declan de Wet
@declandewet
Jan 28 2016 19:23
that's a pretty weird place to move to if you're from durban
but with our local currency as it is I can for sure believe it
Steve Babigian
@k00k
Jan 28 2016 19:24
his dad is a river guide guy, so they’re right on the river, and i’m talking he moved like 20 yrs ago
riverman.co.za
Declan de Wet
@declandewet
Jan 28 2016 19:24
oh, that makes more sense
David Eglin
@djeglin
Jan 28 2016 22:35
Right. Thanks for the clarification on the css thing, @declandewet .