Sha256: 7869312af3927908bc1a895ecb7b6eeb819fa19fe984f1a3055dbc3951d75aa3

Contents?: true

Size: 535 Bytes

Versions: 11

Compression:

Stored size: 535 Bytes

Contents

var webpack = require('webpack');

module.exports = {
  context: __dirname,
  entry: [
    // Add the client which connects to our middleware
    'webpack-hot-middleware/client?path=/__webpack_hmr&timeout=20000',
    // And then the actual application
    './client.js'
  ],
  output: {
    path: __dirname,
    publicPath: '/',
    filename: 'bundle.js'
  },
  devtool: '#source-map',
  plugins: [
    new webpack.optimize.OccurenceOrderPlugin(),
    new webpack.HotModuleReplacementPlugin(),
    new webpack.NoErrorsPlugin()
  ],
};

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
webpack_rails-2.0.1 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-2.0.0 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.3.1 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.3.0 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.2.2 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.2.1 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.2.0 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.1.1 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.1.0 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.0.1 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js
webpack_rails-1.0.0 lib/webpack_rails/node_modules/webpack-hot-middleware/example/webpack.config.js