text: process.env.NODE_ENV = 'production';
  
  const webpackMerge = require('webpack-merge');
  const HtmlWebpackPlugin = require('html-webpack-plugin');
  const getWebpackConfigBasic = require('./webpack.config.basic');
  const env = process.env;
  
  module.exports = function getWebpackConfigDev(entry, paths, options = {}) {
    const baseConfig = getWebpackConfigBasic(entry, paths, options);
  
    return webpackMerge(baseConfig, {
      devtool: 'none',
      plugins: [
        // Generates an `index.html` file with the <script> injected.
        new HtmlWebpackPlugin({
          inject: true,
          template: paths.appHtml,
          // disable minify for ice users
          minify: false,
          // minify: {
          //   removeComments: true,
          //   collapseWhitespace: true,
          //   removeRedundantAttributes: true,
          //   useShortDoctype: true,
          //   removeEmptyAttributes: true,
          //   removeStyleLinkTypeAttributes: true,
          //   keepClosingSlash: true,
          //   minifyJS: true,
          //   minifyCSS: true,
          //   minifyURLs: true,
          // },
        }),
      ],
    });
  };
  