Sha256: d53122c6fce7428b51e9081064716c2869cad9de4c24bf9e265aab7ee72de9ce

Contents?: true

Size: 663 Bytes

Versions: 2

Compression:

Stored size: 663 Bytes

Contents

'use strict';

var path    = require('path');
var webpack = require('webpack');
var _       = require('lodash');
var common  = require('./webpack.common.config');

var hot = _.cloneDeep(common);

hot.entry.unshift(
  'webpack-dev-server/client?http://localhost:8080',
  'webpack/hot/only-dev-server'
);
hot.output.publicPath = '//localhost:8080/assets/javascripts';
hot.module.loaders[0].loaders.unshift('react-hot');
hot.devtool = 'cheap-module-eval-source-map';
hot.plugins = [
  new webpack.HotModuleReplacementPlugin()
];

hot.devServer = {
  contentBase: './public',
  publicPath: '/assets/javascripts',
  hot: true,
  colors: true
};

module.exports = hot;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gulp_assets-1.0.0.pre.3 template/webpack.hot.config.js
gulp_assets-1.0.0.pre.2 template/webpack.hot.config.js