Sha256: 69ce2955a54e0d923fb33af748024ca08fc625c6b4188e1773f456d001bea775
Contents?: true
Size: 721 Bytes
Versions: 3
Compression:
Stored size: 721 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, headers: { 'Access-Control-Allow-Origin': '*' } }; module.exports = hot;
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gulp_assets-1.0.0.pre.6 | template/webpack.hot.config.js |
gulp_assets-1.0.0.pre.5 | template/webpack.hot.config.js |
gulp_assets-1.0.0.pre.4 | template/webpack.hot.config.js |