<commit_before>const webpack = require('webpack');
const path = require('path');
const BabiliPlugin = require("babili-webpack-plugin");

module.exports = [
	{
		entry: './src/jslib.js',
		target: 'web',
		output: {
			path: path.resolve(__dirname, 'dist'),
			filename: 'fengari_interop.js',
			library: 'fengari_interop'
		},
		externals: {
			"fengari": "fengari"
		},
		plugins: [
			new webpack.DefinePlugin({
				WEB: JSON.stringify(true),
			})
		]
	},
	{
		entry: './src/jslib.js',
		target: 'web',
		output: {
			path: path.resolve(__dirname, 'dist'),
			filename: 'fengari_interop.min.js',
			library: 'fengari_interop'
		},
		externals: {
			"fengari": "fengari"
		},
		plugins: [
			new webpack.DefinePlugin({
				WEB: JSON.stringify(true),
			}),<commit_msg>webpack.config.js: Export to global scope (fixme!)<commit_after>const webpack = require('webpack');
const path = require('path');
const BabiliPlugin = require("babili-webpack-plugin");

module.exports = [
	{
		entry: './src/jslib.js',
		target: 'web',
		output: {
			path: path.resolve(__dirname, 'dist'),
			filename: 'fengari_interop.js',
			libraryTarget: 'global'
		},
		externals: {
			"fengari": "fengari"
		},
		plugins: [
			new webpack.DefinePlugin({
				WEB: JSON.stringify(true),
			})
		]
	},
	{
		entry: './src/jslib.js',
		target: 'web',
		output: {
			path: path.resolve(__dirname, 'dist'),
			filename: 'fengari_interop.min.js',
			libraryTarget: 'global'
		},
		externals: {
			"fengari": "fengari"
		},
		plugins: [
			new webpack.DefinePlugin({
				WEB: JSON.stringify(true),
			}),
{'fraction_non_alphanumeric': 0.18077657542966263, 'fraction_numerical': 0.0, 'mean_word_length': 3.5697674418604652, 'pattern_counts': {'":': 4, '<': 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': '4847779', 'n_tokens_mistral': 691, 'n_tokens_neox': 589, 'n_words': 105}