mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-23 01:56:52 +03:00
b80cc9e5b9
* Merge react-json-tree from alexkuz/react-json-tree * Npm package config * Add credits * Stick `eslint-plugin-react` to `7.4.0` till change deprecated `componentWillReceiveProps`
16 lines
395 B
JavaScript
Executable File
16 lines
395 B
JavaScript
Executable File
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(3000, 'localhost', function (err, result) {
|
|
if (err) {
|
|
console.log(err);
|
|
}
|
|
|
|
console.log('Listening at localhost:3000');
|
|
});
|