text: let path = require("path");
  let webpack = require("webpack");
  const VueLoaderPlugin = require("vue-loader/lib/plugin");
  
  module.exports = {
    entry: {
      payant: "./examples/commonjs/app.js",
    },
    output: {
      path: path.resolve(__dirname, "../dist"),
      publicPath: "/dist/",
      filename: "[name].js",
    },
    module: {
      rules: [
        {
          test: /\.vue$/,
          loader: "vue-loader",
        },
        {
          test: /\.js$/,
          loader: "babel-loader",
          exclude: /node_modules/,
        },
        {
          test: /\.css$/,
          use: ["vue-style-loader", "css-loader"],
        },
      ],
    },
    plugins: [
      new VueLoaderPlugin(),
      new webpack.LoaderOptionsPlugin({
        minimize: true,
        debug: false,
      }),
    ],
    devtool: "eval-source-map",
  };
  