html2react-loader
v0.0.8
Published
html code to React code.
Downloads
2
Maintainers
Readme
html2react-loader
html code to React code for webpack and other plugin.
Install
npm install html2react-loader --save-dev
How to use
module.exports = {
entry: ["./entry.js"],
output: {
path: __dirname,
filename: "bundle.js"
},
module: {
preLoaders: [{
test: /\.(js|jsx)$/,
loader: 'html2react'
}]
}
};
LICENSE
MIT