const path = require('path')
const webpack = require('webpack')

process.env.NODE_ENV = 'production'

module.exports = {
  target: 'web',
  entry: [
    'babel-polyfill',
    'whatwg-fetch',
    './src/front/index.js'
  ],
  output: {
    path: path.join(__dirname, 'dist'),
    filename: 'bundle.js'
  },
  module: {
    rules: [
      {
        test: /\.js$/,
        exclude: /node_modules/,
        loader: 'babel-loader'
      },
      {
        test: /\.json$/,
        loader: 'json-loader'
      },
      {
        test: /\.vue$/,
        loader: 'vue-loader'
      }
    ]
  },
  resolve: {
    alias: {
      'vue$': 'vue/dist/vue.esm.js'
    }
  }
}

@@ -25,80 +25,8 @@
 th')
-%0Aconst webpack = require('webpack')%0A%0Aprocess.env.NODE_ENV = 'production'
 %0A%0Amo

Remove unused variables