Sha256: 499883dc23a6f8d77d12e6b539652c7336ac87711d6ca7463bfdec0070811893

Contents?: true

Size: 757 Bytes

Versions: 9

Compression:

Stored size: 757 Bytes

Contents

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

const merge = require('webpack-merge')
const sharedConfig = require('./shared.js')
const { settings, output } = require('./configuration.js')

module.exports = merge(sharedConfig, {
  devtool: 'cheap-eval-source-map',

  stats: {
    errorDetails: true
  },

  output: {
    pathinfo: true
  },

  devServer: {
    clientLogLevel: 'none',
    https: settings.dev_server.https,
    host: settings.dev_server.host,
    port: settings.dev_server.port,
    contentBase: output.path,
    publicPath: output.publicPath,
    compress: true,
    headers: { 'Access-Control-Allow-Origin': '*' },
    historyApiFallback: true,
    watchOptions: {
      ignored: /node_modules/
    }
  }
})

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
mvpkit-2.0.2 project/config/webpack/development.js
mvpkit-2.0.1 project/config/webpack/development.js
mvpkit-2.0.0 project/config/webpack/development.js
railman-1.0.6 templates/rails_app/config/webpack/development.js
railman-1.0.5 templates/rails_app/config/webpack/development.js
webpacker-legacy-0.1.2 lib/install/config/webpack/development.js
webpacker-legacy-0.1.1 lib/install/config/webpack/development.js
webpacker-legacy-0.1.0 lib/install/config/webpack/development.js
webpacker-2.0 lib/install/config/webpack/development.js