Closed benkeen closed 1 year ago
[pluginname]-worker.ts
[pluginname]-generate.ts
Turns out this is pretty straightforward. Just need the worker files to pass the global utils worker content to a separate re-usable generate method in each plugin. That can then be re-used by the node code.
utils
[pluginname]-worker.ts
[pluginname]-generate.ts
, and maybe export the node-friendly generate() method through the main DT bundle (?)