mirror of
https://github.com/lovell/sharp.git
synced 2025-07-09 10:30:15 +02:00
Docs: include img-scoped packages in electron asarUnpack
This commit is contained in:
parent
0b18aeff62
commit
4aacee8055
@ -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
Loading…
x
Reference in New Issue
Block a user