text: const TerserPlugin = require('terser-webpack-plugin');
  
  module.exports = {
    /**
     * This is the main entry point for your application, it's the first file
     * that runs in the main process.
     */
    entry: './src/electron/index.ts',
    // Put your normal webpack config below here
    module: {
      rules: require('./webpack.rules'),
    },
    resolve: {
      extensions: ['.js', '.ts', '.jsx', '.tsx', '.css', '.json']
    },
    optimization: {
      minimize: false,
      minimizer: [
        new TerserPlugin({
          exclude: [
            /\/migration/,
            /\/entities/
          ],
  
        }),
      ],
    },
  };
  