Auto Unpack Natives plugin for Electron Forge, automatically adds native node modules to asar.unpacked

Downloads in past


5,238946.0.44 days ago5 years agoMinified + gzip package size for @electron-forge/plugin-auto-unpack-natives in KB



This plugin will automatically add all native Node modules in your nodemodules folder to the asar.unpack config option in your packagerConfig. If your app uses native Node modules, you should probably use this to reduce loading times and disk consumption on your users' machines.
// forge.config.js

module.exports = {
  plugins: [
     name: '@electron-forge/plugin-auto-unpack-natives'