HEX
Server: LiteSpeed
System: Linux vps338 6.12.0-211.34.1.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 15 07:56:02 EDT 2026 x86_64
User: ondernemer (1054)
PHP: 8.3.32
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/ondernemer/public_html/wp-content/plugins/js_composer/assets/lib/dnd/webpack.config.js
const path = require( 'path' );
const ESLintPlugin = require('eslint-webpack-plugin');

module.exports = {
	entry: './src/index.js', // TODO: entry point will be chaged in the next task
	output: {
		filename: 'bundle.js',
		path: path.resolve( __dirname, 'dist' )
	},
	module: {
		rules: [
			{
				test: /\.js$/,
				exclude: /node_modules/,
				use: {
					loader: 'babel-loader'
				}
			}
		]
	},
	plugins: [
		new ESLintPlugin({
			overrideConfigFile: path.resolve(__dirname, 'eslint.config.js'),
			extensions: ['js'],
			files: 'src/**/*.js',
			fix: true,
			failOnError: false,
			failOnWarning: false,
			cache: true,
			cacheLocation: path.resolve(__dirname, 'node_modules/.cache/.eslintcache')
		})
	],
	mode: 'development'
};