Hello,
I’m trying to use the new Pivot Web Worker, but I can’t import the file since it is not wrapped in a module export.
I can’t directly call the file since we are using Webpack.
I tried:
var PivotWorker = require(’…/codebase/webix/pivot.worker_debug.js’);
But I get an empty object when setting
webWorker = PivotWorker.
How can I wrap the worker in a module export so I’d be able to import it?