old_contents: const path = require('path');
  const argv = require('yargs').argv;
  
  /*
  change the publicPath if site is running in a subfolder on the server. It's also possible to override this
  publicPath by using: npm run build -- --publicPath=/v/vue-skeleton/
  
  When you don't know the publicPath at build time, you can set `window['webpackPublicPath']` before
  loading any script in your HTML.
   */
  let publicPath = '/';
  
  if(argv.publicPath){
    publicPath = argv.publicPath;
  }
  
  // force leading /
  if (!publicPath.startsWith('/')) {
    publicPath = `/${publicPath}`;
  }
  // force trailing /
  if (!publicPath.endsWith('/')) {
    publicPath = `${publicPath}/`;
  }
  
  const versionPath = 'version/' + new Date().getTime() + '/';
  
  module.exports = {
    build: {
      env: {
        NODE_ENV: JSON.stringify('production'),
        VERSIONED_STATIC_ROOT: JSON.stringify(versionPath + 'static/'),
        STATIC_ROOT: JSON.stringify(''),
        PUBLIC_PATH: JSON.stringify(publicPath),
      },
      index: path.resolve(__dirname, '../../dist/index.html'),
      versionPath: versionPath,
      publicPath: publicPath,
      enableImageOptimization: true,
      enablePNGQuant: true, // Best PNG optimizer but PNGQuant crashes on some images so use with caution.
      pngQuantQuality: '65',
      generateIcons: false, // generates icons for all platforms with favicon.png from static/image/favicon.png as the source image
    },
    dev: {
      env: {
        NODE_ENV: JSON.stringify('development'),
        VERSIONED_STATIC_ROOT: JSON.stringify('static/'),
        STATIC_ROOT: JSON.stringify(''),
        PUBLIC_PATH: JSON.stringify('/'),
      },
      port: 8080,
      proxyTable: {},
      host: 'localhost',
      autoOpenBrowser: true,
    },
    useHttps: false,
    lintStaged: {
      eslintEnabled: true,
      tslintEnabled: true,
      stylelintEnabled: true,
    },
  };
  
new_contents: const path = require('path');
  const argv = require('yargs').argv;
  
  /*
  change the publicPath if site is running in a subfolder on the server. It's also possible to override this
  publicPath by using: npm run build -- --publicPath=/v/vue-skeleton/
  
  When you don't know the publicPath at build time, you can set `window['webpackPublicPath']` before
  loading any script in your HTML.
   */
  let publicPath = '/';
  
  if(argv.publicPath){
    publicPath = argv.publicPath;
  }
  
  // force leading /
  if (!publicPath.startsWith('/')) {
    publicPath = `/${publicPath}`;
  }
  // force trailing /
  if (!publicPath.endsWith('/')) {
    publicPath = `${publicPath}/`;
  }
  
  /*
  It's also possible to override the version number during a build.
  
  npm run build -- --versionNumber=v1
   */
  let version = new Date().getTime();
  
  if(argv.versionNumber){
    version = argv.versionNumber;
  }
  
  const versionPath = 'version/' + version + '/';
  
  module.exports = {
    build: {
      env: {
        NODE_ENV: JSON.stringify('production'),
        VERSIONED_STATIC_ROOT: JSON.stringify(versionPath + 'static/'),
        STATIC_ROOT: JSON.stringify(''),
        PUBLIC_PATH: JSON.stringify(publicPath),
      },
      index: path.resolve(__dirname, '../../dist/index.html'),
      versionPath: versionPath,
      publicPath: publicPath,
      enableImageOptimization: true,
      enablePNGQuant: true, // Best PNG optimizer but PNGQuant crashes on some images so use with caution.
      pngQuantQuality: '65',
      generateIcons: false, // generates icons for all platforms with favicon.png from static/image/favicon.png as the source image
    },
    dev: {
      env: {
        NODE_ENV: JSON.stringify('development'),
        VERSIONED_STATIC_ROOT: JSON.stringify('static/'),
        STATIC_ROOT: JSON.stringify(''),
        PUBLIC_PATH: JSON.stringify('/'),
      },
      port: 8080,
      proxyTable: {},
      host: 'localhost',
      autoOpenBrowser: true,
    },
    useHttps: false,
    lintStaged: {
      eslintEnabled: true,
      tslintEnabled: true,
      stylelintEnabled: true,
    },
  };
  
subject: implement option to set version number during build