text: const VueLoaderPlugin = require('vue-loader/lib/plugin');
  const HtmlWebpackPlugin = require('html-webpack-plugin');
  
  module.exports = {
    entry: './index.js',
    mode: 'development',
    resolve: {
      alias: {'vue$': 'vue/dist/vue.esm.js'},
      extensions: ['.js', '.vue']
    },
    module: {
      rules: [
        {
          test: /\.vue$/,
          loader: 'vue-loader'
        },
        {
          test: /\.css$/,
          use: [
            'vue-style-loader',
            'css-loader'
          ]
        }
      ]
    },
    plugins: [
      new VueLoaderPlugin(),
      new HtmlWebpackPlugin({template: 'index.html'})
    ]
  };
  