const path = require('path'); module.exports = { mode: 'production', context: path.resolve(__dirname, 'frontend', '.js'), entry: { underbbs: './websocket.js', }, output: { iife: false, filename: '[name].js', path: path.resolve(__dirname, 'frontend', 'dist'), }, optimization: { minimize: false, } }