How to edit .babelrc
zmunro opened this issue · comments
Zachary Munro commented
Where is this file? Am I supposed to create it? Should there be anything in it besides what you are saying to add??
Nazih Ahmed commented
hi, yes you should create this file in the root directory
just call it .babelrc
here is how mine looks like:
{
"plugins": [
"react-html-attrs",
"transform-class-properties"
],
"presets": ["react", "es2015"],
"env": {
"development": {
"presets": ["react-hmre"]
}
}
}