x0 icon indicating copy to clipboard operation
x0 copied to clipboard

Update babel dependencies

Open ntaylor89 opened this issue 6 years ago • 2 comments

I'm attempting to use styled-components with their babel plugin, so I can specify a css prop like so

<Box css={`some css here`} />

It appears this plugin only works with babel 7.0+ (babel will not compile syntax the css prop on any previous version), but x0's current dependencies have it locked at babel 6.

Looks like the only way to get this working with x0 would be to bump it's depencies / swap out it's babel presets.

ntaylor89 avatar Feb 11 '19 01:02 ntaylor89

I took a stab at updating to babel 7 here https://github.com/c8r/x0/pull/117. It'd be cool if you could give it a try and see how far you get.

chrisdwheatley avatar Feb 18 '19 14:02 chrisdwheatley

Nice! I'll take a look.

ntaylor89 avatar Feb 18 '19 18:02 ntaylor89