Auto Unpack Native Modules Plugin
Reduce loading times and disk consumption by unpacking native Node modules from your Forge app's ASAR archive.
Installation
npm install --save-dev @electron-forge/plugin-auto-unpack-nativesUsage
module.exports = {
packagerConfig: {
asar: true // or an object containing your asar options
},
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {}
}
]
};Last updated
Was this helpful?