const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); let config = { devtool: 'source-map', mode: 'production', target: "electron-main", entry: "./src/main/main.js", output: { path: __dirname + "/dist/main/", filename: "main.js" } // optimization: { // minimizer: [ // new UglifyJSPlugin({ // parallel: true, // sourceMap: true // }) // ], // } }; module.exports = config;