These are chat archives for brunch/brunch

15th
Feb 2017
Douman
@DoumanAsh
Feb 15 2017 15:16
Hej guys, need some help with babel-brucnh recently it seems to leave out let and stuff like that which fails uglify-js... anyone knows about some breaking changes in babel?
Aleksey Shvayka
@shvaikalesh
Feb 15 2017 15:16
do you use it from master?
Douman
@DoumanAsh
Feb 15 2017 15:17
no, i just get latest stable version of npm package
it is just happened suddenly today, i think it was ok yesterday
at least i got good build yesterday
Aleksey Shvayka
@shvaikalesh
Feb 15 2017 15:19
babel/babel-brunch#49
brings babel-preset-env by default
Douman
@DoumanAsh
Feb 15 2017 15:20
well my config uses presets: ['es2015'],
Aleksey Shvayka
@shvaikalesh
Feb 15 2017 15:20
so if support evergreen only and have browserslist, lets should stay
Douman
@DoumanAsh
Feb 15 2017 15:20
darn
Aleksey Shvayka
@shvaikalesh
Feb 15 2017 15:20
hmm, then I suspect it is babel issue
but I am not 100% sure
Douman
@DoumanAsh
Feb 15 2017 15:21
i'll check out if they got any changes within day. it is like changed during one day
Colin Bate
@colinbate
Feb 15 2017 15:21
@DoumanAsh is your config for Brunch or a separate .babelrc file?
Douman
@DoumanAsh
Feb 15 2017 15:21
in brunch
the only thing i don't get is why it was ok yesterday :(
i don't see any new version of babel
Colin Bate
@colinbate
Feb 15 2017 15:23
Are you seeing this in a CI type setup?
Douman
@DoumanAsh
Feb 15 2017 15:23
locally the same
Colin Bate
@colinbate
Feb 15 2017 15:24
I see that all of your dev tooling is set to get the latest versions of everything.
Douman
@DoumanAsh
Feb 15 2017 15:24
well i suppose it might be bad, but not sure what causes it as i tried to rollback babel-brunch too :(
luckily it is just pet project
oh well i got nothing for now, too tired to deal with it. So maybe i'll find out later on
Justin Wood
@ankhers
Feb 15 2017 17:13
I have found a couple issues with getting postcss to work happily with tools such as brunch-sass. Unfortunately, I am unable to find out how I am supposed to use these tools together. Would anyone be able to point me at some documentation that would state how to get postcss and brunch-sass working together?
Aleksey Shvayka
@shvaikalesh
Feb 15 2017 17:19
@ankhers use postcss-brunch from master and config.plugins.postcss.pattern: /\.s[ac]ss/
it is kinda workaround, will improve soon
Justin Wood
@ankhers
Feb 15 2017 17:20
@shvaikalesh Thanks. I will give that a go.
Justin Wood
@ankhers
Feb 15 2017 17:27
@shvaikalesh That didn't seem to work for me. Is that all I should need to do?
Aleksey Shvayka
@shvaikalesh
Feb 15 2017 17:31
@ankhers yea. I will investigate in couple hours
Justin Wood
@ankhers
Feb 15 2017 18:33
Thanks