text: // Webpack config used with 'npm run start' command.
  // Run webpack-dev-server on localhost:8080
  const merge = require('webpack-merge');
  const common = require('./webpack.common.js');
  
  module.exports = merge(common, {
      mode: 'development',
      devtool: 'inline-source-map',
      devServer: {
          contentBase: './dist',
          hot: true
      },
      module: {
          rules: [
              {
                  test: /\.css$/,
                  use: [
                      'style-loader',
                      'css-loader'
                  ]
              },
              {
                  test: /\.scss$/,
                  use: [
                      'style-loader',
                      "css-loader", // translates CSS into CommonJS
                      "sass-loader" // compiles Sass to CSS, using Node Sass by default
                  ]
              }
          ]
      }
  });
  