insin / babel-plugin-react-html-attrs

Babel plugin which transforms HTML and SVG attributes on JSX host elements into React-compatible attributes

Home Page:https://astexplorer.net/#/gist/0008d677e8156dab437be51d1fee1757/latest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The plugin "react-html-attrs" didn't export a Plugin instance while parsing file

atalapov opened this issue · comments

.package.json

"devDependencies": {
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
"autoprefixer": "^9.0.1",
"babel-core": "^6.26.3",
"babel-loader": "^8.0.4",
"babel-plugin-react-html-attrs": "^2.1.0",
"babel-preset-react": "^6.24.1",
"babelify": "^6.1.2",
"browserify": "^16.2.3",
"envify": "^4.1.0",
"grunt": "^1.0.3",
"grunt-browser-sync": "^2.2.0",
"grunt-browserify": "^5.3.0",
"grunt-contrib-clean": "^1.1.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^2.2.1",
"grunt-contrib-imagemin": "^3.1.0",
"grunt-contrib-rename": "0.2.0",
"grunt-contrib-uglify": "^3.3.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-neuter": "^0.6.0",
"grunt-postcss": "^0.9.0",
"grunt-react": "^0.12.3",
"grunt-sass": "3.0.1",
"grunt-shell": "^2.1.0",
"load-grunt-tasks": "^4.0.0",
"node-sass": "^4.9.2",
"postcss-flexbugs-fixes": "^4.0.0",
"react-dom": "^16.6.3",
"react-redux": "^5.1.1",
"reactify": "^1.1.1",
"redux": "^4.0.1",
"time-grunt": "^1.4.0"
},
"dependencies": {
"react": "^16.6.3"
}

.babelrc

{
"plugins": [
"react-html-attrs",
"@babel/plugin-transform-react-inline-elements"
]
}

How I can fix it ?