<commit_before>const resolve = require("path").resolve

const MiniCssExtractPlugin = require("mini-css-extract-plugin")
const VueLoaderPlugin = require("vue-loader/lib/plugin")
const VuetifyLoaderPlugin = require("vuetify-loader/lib/plugin")

module.exports = {
  mode: process.env.NODE_ENV,

  entry: "./src/client/index.js",

  output: {
    filename: "bundle.js",
    path: resolve(__dirname, "..", "public"),
    sourceMapFilename: "[file].map"
  },

  devtool: "#source-map",

  module: {
    rules: [{
      test: /\.js$/,
      loader: "babel-loader",
      exclude: /node_modules/
    }, {
      test: /\.js$/,
      use: "imports-loader?define=>undefined",
      include: /node_modules\/chess.js/,
    }, {
      test: /\.vue$/,
      loader: "vue-loader",
    }, {
      test: /\.css$/,
      use: [
        MiniCssExtractPlugin.loader,
        "css-loader"
      ]
    }, {
      test: /\.scss$/,
      use: [
        MiniCssExtractPlugin.loader,
        "css-loader",
        "sass-loader"
      ]
    }, {
      test: /\.styl$/,
      use: [
        MiniCssExtractPlugin.loader,
        "css-loader",
        "stylus-loader"
      ]
    }]
  },

  resolve: {
    extensions: [".js", ".vue"],
    alias: {
      "vue$": "vue/dist/vue.esm.js",
    }
  },

  plugins: [
    new MiniCssExtractPlugin({
      filename: "bundle.css"
    }),

    new VueLoaderPlugin(),
    new VuetifyLoaderPlugin()
  ]
}<commit_msg>alias for src directory<commit_after>const resolve = require("path").resolve

const MiniCssExtractPlugin = require("mini-css-extract-plugin")
const VueLoaderPlugin = require("vue-loader/lib/plugin")
const VuetifyLoaderPlugin = require("vuetify-loader/lib/plugin")

module.exports = {
  mode: process.env.NODE_ENV,

  entry: "./src/client/index.js",

  output: {
    filename: "bundle.js",
    path: resolve(__dirname, "..", "public"),
    sourceMapFilename: "[file].map"
  },

  devtool: "#source-map",

  module: {
    rules: [{
      test: /\.js$/,
      loader: "babel-loader",
      exclude: /node_modules/
    }, {
      test: /\.js$/,
      use: "imports-loader?define=>undefined",
      include: /node_modules\/chess.js/,
    }, {
      test: /\.vue$/,
      loader: "vue-loader",
    }, {
      test: /\.css$/,
      use: [
        MiniCssExtractPlugin.loader,
        "css-loader"
      ]
    }, {
      test: /\.scss$/,
      use: [
        MiniCssExtractPlugin.loader,
        "css-loader",
        "sass-loader"
      ]
    }, {
      test: /\.styl$/,
      use: [
        MiniCssExtractPlugin.loader,
        "css-loader",
        "stylus-loader"
      ]
    }]
  },

  resolve: {
    extensions: [".js", ".vue"],
    alias: {
      "~": resolve(__dirname, "..", "src"),
      "vue$": "vue/dist/vue.esm.js",
    }
  },

  plugins: [
    new MiniCssExtractPlugin({
      filename: "bundle.css"
    }),

    new VueLoaderPlugin(),
    new VuetifyLoaderPlugin()
  ]
}
{'fraction_non_alphanumeric': 0.1810344827586207, 'fraction_numerical': 0.0, 'mean_word_length': 2.0796178343949046, 'pattern_counts': {'":': 3, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2938661', 'n_tokens_mistral': 1033, 'n_tokens_neox': 1006, 'n_words': 161}