Nguyen Duc Hieu
Nguyen Duc Hieu
exactly the same here
@aadiene you can create a `custom.webpack.additions.js` for `renderer.webpackConfig` to modify minimizer option ``` module.exports = (config) => { if (config.mode === 'production') { config.optimization.minimizer = [new TerserPlugin({ // ... your...
``` const nativeImage = electron.nativeImage; const icon = require('@/any/path/icon.png'); // Create the browser window. mainWindow = new BrowserWindow({ //... your config icon: nativeImage.createFromDataURL(icon.default) }); ```