UNPKG

react-inline-editing

Version:

An inline, customizable and editable text component built in React.

28 lines (27 loc) 620 B
var path = require('path'); var webpack = require('webpack'); module.exports = { entry: './src/main.jsx', output: { path: path.resolve(__dirname, 'dist'), filename: 'main.bundle.js', libraryTarget: 'commonjs2' }, module: { loaders: [ { test: /\.js(x)$/, loader: 'babel-loader', query: { presets: ['es2015', 'react'] } } ] }, externals: { 'react': 'commonjs react' }, stats: { colors: true }, };