mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add experimental support for Worker Threads #1558
This commit is contained in:
@@ -51,4 +51,4 @@ NAN_MODULE_INIT(init) {
|
||||
Nan::GetFunction(Nan::New<v8::FunctionTemplate>(stats)).ToLocalChecked());
|
||||
}
|
||||
|
||||
NODE_MODULE(sharp, init)
|
||||
NAN_MODULE_WORKER_ENABLED(sharp, init)
|
||||
|
||||
Reference in New Issue
Block a user