react-jsonform-shape
Version:
A mini React library that abstracts the generation of forms from a JSON.
21 lines (20 loc) • 372 B
JavaScript
const path = require("path");
module.exports = {
entry: './src/lib/index.js',
output: {
path: path.resolve(__dirname, 'build'),
filename: 'index.js',
libraryTarget: 'commonjs2'
},
module: {
rules: [
{
test: /\.(js|jsx)$/,
exclude: /node_modules/,
use: {
loader: "babel-loader"
}
}
]
}
};