old_contents: const helpers = require('./helpers');
  const webpack = require('webpack');
  const webpackMerge = require('webpack-merge');
  const commonConfig = require('./webpack.common.js');
  
  const ENV = process.env.ENV = process.env.NODE_ENV = 'development';
  
  module.exports = webpackMerge(commonConfig, {
      devtool: 'cheap-module-source-map',
      output: {
          path: helpers.root('dist'),
          filename: '[name].js',
          sourceMapFilename: '[name].map',
          chunkFilename: '[id].chunk.js',
          publicPath: '/'
      },
      plugins: [
          new webpack.DefinePlugin({
              'ENV': JSON.stringify(ENV),
          }),
          new webpack.LoaderOptionsPlugin({
              options: {
                  tslint: {
                      emitErrors: false,
                      failOnHint: false,
                      resourcePath: 'src'
                  },
              },
          }),
      ],
      devServer: {
          port: 4200,
          host: '0.0.0.0',
          historyApiFallback: true,
          watchOptions: {
              aggregateTimeout: 300,
              poll: 1000
          },
          proxy: {
              '/api': {
                  target: 'http://localhost:8080',
              }
          },
      },
      node: {
          global: true,
          crypto: 'empty',
          process: true,
          module: false,
          clearImmediate: false,
          setImmediate: false
      }
  });
  
new_contents: const helpers = require('./helpers');
  const webpack = require('webpack');
  const webpackMerge = require('webpack-merge');
  const commonConfig = require('./webpack.common.js');
  
  const ENV = process.env.ENV = process.env.NODE_ENV = 'development';
  
  module.exports = webpackMerge(commonConfig, {
      devtool: 'cheap-module-source-map',
      output: {
          path: helpers.root('dist'),
          filename: '[name].js',
          sourceMapFilename: '[name].map',
          chunkFilename: '[id].chunk.js',
          publicPath: '/'
      },
      plugins: [
          new webpack.DefinePlugin({
              'ENV': JSON.stringify(ENV),
          }),
          new webpack.LoaderOptionsPlugin({
              options: {
                  tslint: {
                      emitErrors: false,
                      failOnHint: false,
                      resourcePath: 'src'
                  },
              },
          }),
      ],
      devServer: {
          port: 4200,
          host: '0.0.0.0',
          historyApiFallback: true,
          watchOptions: {
              aggregateTimeout: 300,
              poll: 1000
          },
          proxy: {
              '/api': {
                  target: 'http://92.222.84.152:8080/b2b-0.1.0/',
              }
          },
      },
      node: {
          global: true,
          crypto: 'empty',
          process: true,
          module: false,
          clearImmediate: false,
          setImmediate: false
      }
  });
  
subject: Update webpack.dev.js