text: const path = require('path');
  const webpack = require('webpack');
  const VueLoaderPlugin = require('vue-loader/lib/plugin');
  
  module.exports = {
    devtool: 'source-map',
    entry: [
      './src/index.vue',
    ],
    output: {
      path: __dirname + '/dist',
      filename: 'index.js',
      libraryTarget: 'umd',
      library: '<%= exportName %>',
    },
    module: {
      rules: [
        {
          test: /\.vue$/,
          loader: 'vue-loader',
          options: {
            loaders: 'vue-test-loader',
          },
        },
        {
          enforce: 'pre',
          test: /\.(js|vue)$/,
          loader: 'eslint-loader',
          exclude: /node_modules/,
        },
        {
          test: /\.js$/,
          loader: 'babel-loader',
          exclude: /node_modules/,
        },
      ],
    },
    plugins: [
      new VueLoaderPlugin(),
    ],
  };
  