Sha256: 445c92d7fbc0eccb2f67253a438af70ecb3c461f3329f51796d190ecbb950c67

Contents?: true

Size: 498 Bytes

Versions: 3

Compression:

Stored size: 498 Bytes

Contents

// Note: You must restart bin/webpack-dev-server for changes to take effect

const { resolve } = require('path')
const merge = require('webpack-merge')
const devConfig = require('./development.js')
const { devServer, publicPath, paths } = require('./configuration.js')

module.exports = merge(devConfig, {
  devServer: {
    host: devServer.host,
    port: devServer.port,
    compress: true,
    historyApiFallback: true,
    contentBase: resolve(paths.output, paths.entry),
    publicPath
  }
})

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
railman-1.0.4 templates/rails_app/config/webpack/development.server.js
webpacker-1.2 lib/install/config/webpack/development.server.js
webpacker-1.1 lib/install/config/webpack/development.server.js