<commit_before>// JS
module.exports = function (gulp, plugins , webpackStream) {
    return function () {
		return gulp.src("app/js/main.js")
			// .pipe(plugins.plumber())
			// .pipe(plugins.using({ prefix: 'After changed:', color:'green', filesize:true }))

			// // Include
			// .pipe(plugins.include())

			// // Dest
			// .pipe(gulp.dest("dist/js/"))

			// // Uglify
			// .pipe(plugins.uglify())
			// .pipe(plugins.rename({suffix: ".min"}))
			// .pipe(gulp.dest("dist/js"))
			// .pipe(plugins.browserSync.reload({stream:true}));
		
			.pipe(webpackStream({
				output: {
					filename: 'app.js',
				},
				module: {
					rules: [
						{
							test: /\.(js)$/,
							exclude: /(node_modules)/,<commit_msg>webpack mode<commit_after>// JS
module.exports = function (gulp, plugins , webpackStream) {
    return function () {
		return gulp.src("app/js/main.js")
			// .pipe(plugins.plumber())
			// .pipe(plugins.using({ prefix: 'After changed:', color:'green', filesize:true }))

			// // Include
			// .pipe(plugins.include())

			// // Dest
			// .pipe(gulp.dest("dist/js/"))

			// // Uglify
			// .pipe(plugins.uglify())
			// .pipe(plugins.rename({suffix: ".min"}))
			// .pipe(gulp.dest("dist/js"))
			// .pipe(plugins.browserSync.reload({stream:true}));
		
			.pipe(webpackStream({
				mode: 'production',
				output: {
					filename: 'app.js',
				},
				module: {
					rules: [
						{
							test: /\.(js)$/,
							exclude: /(node_modules)/,
{'fraction_non_alphanumeric': 0.22389078498293516, 'fraction_numerical': 0.0, 'mean_word_length': 2.331818181818182, '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': '2696037', 'n_tokens_mistral': 648, 'n_tokens_neox': 510, 'n_words': 78}