Using Bull within ES6 module
Created by: gielow
Description
I have a certain repo configured as a module (type: "module" in package.json). The application works all fine, imports, etc...
While trying to initialize/add the workers I have the following error:
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /some_path/processor-xxxxx.js
Bull version is 3.14.0
Additional information
I setup my processors: queue.process(, </some_path/processor-xxxx.js>);
Is there anything wrong with my project setup?