pocotan001 / react-styleguide-generator

Easily generate a good-looking styleguide by adding some documentation to your React project.
http://pocotan001.github.io/react-styleguide-generator
MIT License
700 stars 76 forks source link

Update to babel 6 #19

Closed pasviegas closed 8 years ago

pasviegas commented 8 years ago

Now that babel 6 is out, would be good to upgrade styleguide-generator to use the new version

theogravity commented 8 years ago

Hi @pasviegas, I have a version that uses webpack + babel 6 here:

https://github.com/theogravity/react-styleguide-generator-alt https://www.npmjs.com/package/rsg-alt

gabrielpugliese-luizalabs commented 8 years ago

@theogravity babel v6.4 introduced the semicolon madness to static vars and it's complaining when I try to run rsg-alt. Does it have anything to do with rsg-alt or it's probably my project?

theogravity commented 8 years ago

@gabrielpugliese-luizalabs I want to say it's probably your project. I made sure babel 6.3 is being used (because the styleguide examples would also throw errors during babel transpilation under 6.4).

Do you want to paste in your package.json? You can also figure out what babel libs are being used + versions by doing npm ls | grep babel.

Also I have a separate issues section on the rsg-alt repo and would prefer you raise issues there since my project has completely deviated from the original.

azu commented 8 years ago

This issue seem to be resolved by #24

1000ch commented 8 years ago

Fixed in newest version.