text: const { merge } = require('webpack-merge')
  const common = require('./webpack.common.js')
  
  module.exports = merge(common, {
    mode: 'development',
    devtool: 'inline-source-map',
    output: {
      filename: '[name].js',
      publicPath: 'http://localhost:9000/'
    },
    devServer: {
      port: 9000,
      hot: true,
      headers: {
        'Access-Control-Allow-Origin': '*',
        'Access-Control-Allow-Methods': 'GET, POST, PUT, DELETE, PATCH, OPTIONS',
        'Access-Control-Allow-Headers':
          'X-Requested-With, content-type, Authorization',
      },
    },
  })
  