UNPKG

react-inline-edit

Version:

A React component that allows inline/in-place edits.

15 lines (14 loc) 431 B
/* eslint-disable no-var, strict */ var webpack = require('webpack'); var WebpackDevServer = require('webpack-dev-server'); var config = require('./webpack.config'); new WebpackDevServer(webpack(config), { publicPath: config.output.publicPath, hot: true, historyApiFallback: true }).listen(5000, 'localhost', function (err) { if (err) { console.log(err); } console.log('Listening at localhost:5000'); });