<commit_before>const path = require("path");
const AssetsPlugin = require("assets-webpack-plugin");

const ROOT_PATH = path.resolve(__dirname, "../../");
const SRC_PATH = path.resolve(ROOT_PATH, "./src/demo");
const BUILD_PATH = path.join(ROOT_PATH, "./dist/public/assets");

module.exports = {
    context: SRC_PATH,
    entry: {
        vendor: ["./common/vendor"],
        demo: ["./index"]
    },
    devtool: "source-map",
    output: {
        path: BUILD_PATH,
        publicPath: "/assets/",
        filename: "[name].js",
        chunkFilename: "[id].chunk.js"
    },
    optimization: {
        splitChunks: {
            cacheGroups: {
                vendor: {
                    name: "vendor",
                    chunks: "all"
                }<commit_msg>add test<commit_after>const path = require("path");
const AssetsPlugin = require("assets-webpack-plugin");

const ROOT_PATH = path.resolve(__dirname, "../../");
const SRC_PATH = path.resolve(ROOT_PATH, "./src/demo");
const BUILD_PATH = path.join(ROOT_PATH, "./dist/public/assets");

module.exports = {
    context: SRC_PATH,
    entry: {
        vendor: ["./common/vendor"],
        demo: ["./index"]
    },
    devtool: "source-map",
    output: {
        path: BUILD_PATH,
        publicPath: "/assets/",
        filename: "[name].js",
        chunkFilename: "[id].chunk.js"
    },
    optimization: {
        splitChunks: {
            cacheGroups: {
                vendor: {
                    name: "vendor",
                    chunks: "all",
                    test: /[\\/]node_modules[\\/]/
                }
{'fraction_non_alphanumeric': 0.1671904462602137, 'fraction_numerical': 0.0, 'mean_word_length': 1.8840579710144927, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4109473', 'n_tokens_mistral': 483, 'n_tokens_neox': 478, 'n_words': 91}