node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

reapp-pack

reapp-pack

A helper for generating webpack configs, along with some small helpers. Includes ./webpackServer for easy use of webpack-dev-server.

Based heavily on the official webpack/react-starter repo.

Webpack is just an export of the version of webpack used in this repository.

Usage

See required files in ./config.

var config = require('./config/webpack.run.js');
var webpackServer = require('reapp-pack/webpackServer');
 
webpackServer(config, {
  port: 3011,
  debug: true,
  hot: true
});

Options

See ./index.js.