text: const Webpack = require("webpack");
  module.exports = {
    entry: {
      vendor: "./src/vendor.js",
      main: "./src/index.js"
    },
    module: {
      rules: [
        {
          test: /\.html$/,
          use: ["html-loader"]
        },
        {
          test: /\.(jpg|jpeg|png|gif|svg|pdf|ico)$/,
          use: [
            {
              loader: "file-loader",
              options: {
                name: "[name].[hash].[ext]",
                outputPath: "assets",
                esModule: false
              }
            }
          ]
        }
      ]
    },
    // This config allows to use jQuery $ sign
    plugins: [
      new Webpack.ProvidePlugin({
        $: "jquery",
        jQuery: "jquery"
      })
    ]
  };
  