Skip to content

Commit 38b9d01

Browse files
erickzhaogitbook-bot
authored andcommitted
GITBOOK-212: fix packagerConfig.asar API doc link
1 parent 902c10e commit 38b9d01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/plugins/auto-unpack-natives.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: >-
66

77
# Auto Unpack Native Modules Plugin
88

9-
This plugin will automatically add all native Node modules in your `node_modules` folder to the [`asar.unpack`](https://electron.github.io/electron-packager/main/interfaces/electronpackager.options.html#asar) config option in your [`packagerConfig`](../configuration.md#electron-packager-config). If your app uses native Node modules, you should probably use this to reduce loading times and disk consumption on your users' machines.
9+
This plugin will automatically add all native Node modules in your `node_modules` folder to the [`asar.unpack`](https://electron.github.io/packager/main/interfaces/Options.html#asar) config option in your [`packagerConfig`](../configuration.md#electron-packager-config). If your app uses native Node modules, you should probably use this to reduce loading times and disk consumption on your users' machines.
1010

1111
## Installation
1212

@@ -19,7 +19,7 @@ npm install --save-dev @electron-forge/plugin-auto-unpack-natives
1919
You must add this plugin to your [`plugins`](../configuration.md#plugins) array in your Forge configuration. There are currently no configuration options available for this plugin.
2020

2121
{% hint style="info" %}
22-
Asar archives are disabled by default with Electron Packager. Make sure you set your `packagerConfig.asar` value accordingly. This option also supports advanced configuration if you pass it an object. See the [API documentation for this option](https://js.electronforge.io/modules/\_electron\_forge\_shared\_types.InternalOptions.html#CreateOptions) for more information.
22+
Asar archives are disabled by default with Electron Packager. Make sure you set your `packagerConfig.asar` value accordingly. This option also supports advanced configuration if you pass it an object. See the [API documentation for this option](https://js.electronforge.io/modules/_electron_forge_shared_types.InternalOptions.html#CreateOptions) for more information.
2323
{% endhint %}
2424

2525
{% code title="forge.config.js" %}

0 commit comments

Comments
 (0)