@electron-forge/plugin-auto-unpack-natives
TypeScript icon, indicating that this package has built-in type declarations

7.4.0 • Public • Published

plugin-auto-unpack-natives

This plugin will automatically add all native Node modules in your node_modules 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',
      config: {}
    }
  ]
};

Readme

Keywords

none

Package Sidebar

Install

npm i @electron-forge/plugin-auto-unpack-natives

Weekly Downloads

22,105

Version

7.4.0

License

MIT

Unpacked Size

7.81 kB

Total Files

11

Last publish

Collaborators

  • vertedinde
  • georgexu99
  • erickzhao
  • malept
  • marshallofsound