mirror of
https://github.com/lovell/sharp.git
synced 2026-02-04 05:36:18 +01:00
Docs: include img-scoped packages in electron asarUnpack
This commit is contained in:
@@ -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
Reference in New Issue
Block a user