File size: 496 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
err = ???*0*
- *0* err
  ⚠️  pattern without value

errors = []

path = Iterated(paths)

paths = [
    `../src/build/Release/sharp-${runtimePlatform}.node`,
    "../src/build/Release/sharp-wasm32.node",
    `@img/sharp-${runtimePlatform}/sharp.node`,
    "@img/sharp-wasm32/sharp.node"
]

runtimePlatform = runtimePlatformArch()

runtimePlatformArch = FreeVar(require)("./libvips")["runtimePlatformArch"]

sharp = (???*0* | FreeVar(require)(path))
- *0* sharp
  ⚠️  pattern without value