text: const merge = require('webpack-merge');
  const webpack = require('webpack');
  const common = require('./webpack.config.common.js');
  
  module.exports = merge(common, {
    mode: 'development',
    devtool: 'inline-source-map',
    devServer: {
      contentBase: './dist',
      historyApiFallback: true,
      useLocalIp: true,
      port: 9999,
      host: '0.0.0.0',
    },
    module: {
      rules: [
        {
          test: /\.css$/,
          use: [
            'style-loader',
            'css-loader',
          ],
        },
      ],
    },
    plugins: [
      new webpack.HotModuleReplacementPlugin(),
      new webpack.DefinePlugin({
        'process.env': {
          NODE_ENV: JSON.stringify('development'),
          PUBLIC_URL: JSON.stringify('/'),
        },
      }),
    ],
  });
  