infernojs / babel-plugin-inferno

Transforms JSX to InfernoJS vNodes
MIT License
79 stars 26 forks source link

error in description of .babelrc file #4

Closed davidmoshal closed 8 years ago

davidmoshal commented 8 years ago

your .babelrc file is missing a comma - interestingly babel didn't output a clear message.

{   
    "presets": [ "es2015", "stage-0" ]
    "plugins": ["babel-plugin-syntax-jsx", "babel-plugin-inferno"]
}

should be:

{   
    "presets": [ "es2015", "stage-0" ],
    "plugins": ["babel-plugin-syntax-jsx", "babel-plugin-inferno"]
}

note the comma after ["stage-0"]

trueadm commented 8 years ago

@davidmoshal Thanks for the issue. This was a typo in the readme :)

davidmoshal commented 8 years ago

you are quick, just like your project!