Docs: include img-scoped packages in electron asarUnpack

This commit is contained in:
Lovell Fuller 2024-01-04 08:57:17 +00:00
parent 0b18aeff62
commit 4aacee8055
2 changed files with 6 additions and 3 deletions

View File

@ -233,7 +233,7 @@ custom:
### electron ### electron
Ensure sharp is unpacked from the ASAR archive file using the Ensure `sharp` is unpacked from the ASAR archive file using the
[asarUnpack](https://www.electron.build/configuration/configuration.html) [asarUnpack](https://www.electron.build/configuration/configuration.html)
option. option.
@ -241,7 +241,10 @@ option.
{ {
"build": { "build": {
"asar": true, "asar": true,
"asarUnpack": ["**/node_modules/sharp/**/*"] "asarUnpack": [
"**/node_modules/sharp/**/*",
"**/node_modules/@img/**/*"
]
} }
} }
``` ```

File diff suppressed because one or more lines are too long