<commit_before>const path = require("path");
const merge = require("webpack-merge");
const nodeExternals = require("webpack-node-externals");
const baseConfig = require("./webpack.config.js");
const VueSSRServerPlugin = require("vue-server-renderer/server-plugin");

module.exports = (websomServer) => {
	return merge(baseConfig(websomServer), {
		// Point entry to your app"s server entry file
		entry: "./entry.server.js",

		// This allows webpack to handle dynamic imports in a Node-appropriate
		// fashion, and also tells `vue-loader` to emit server-oriented code when
		// compiling Vue components.
		target: "node",

		// For bundle renderer source map support
		devtool: "source-map",

		// This tells the server bundle to use Node-style exports
		output: {
			libraryTarget: "commonjs2"
		},

		// https://webpack.js.org/configuration/externals/#function
		// https://github.com/liady/webpack-node-externals
		// Externalize app dependencies. This makes the server build much faster<commit_msg>Removed source maps from server.<commit_after>const path = require("path");
const merge = require("webpack-merge");
const nodeExternals = require("webpack-node-externals");
const baseConfig = require("./webpack.config.js");
const VueSSRServerPlugin = require("vue-server-renderer/server-plugin");

module.exports = (websomServer, bundle) => {
	return merge(baseConfig(websomServer, bundle), {
		// Point entry to your app"s server entry file
		entry: "./entry.server.js",

		// This allows webpack to handle dynamic imports in a Node-appropriate
		// fashion, and also tells `vue-loader` to emit server-oriented code when
		// compiling Vue components.
		target: "node",

		// For bundle renderer source map support
		//devtool: "source-map",

		// This tells the server bundle to use Node-style exports
		output: {
			libraryTarget: "commonjs2"
		},

		// https://webpack.js.org/configuration/externals/#function
		// https://github.com/liady/webpack-node-externals
		// Externalize app dependencies. This makes the server build much faster
{'fraction_non_alphanumeric': 0.12469437652811736, 'fraction_numerical': 0.0009779951100244498, 'mean_word_length': 4.064356435643564, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '2469607', 'n_tokens_mistral': 625, 'n_tokens_neox': 570, 'n_words': 177}