vue-worker icon indicating copy to clipboard operation
vue-worker copied to clipboard

imported lodash functions not working in the worker function

Open utizr opened this issue 7 years ago • 7 comments

When I run a function which uses imported lodash functions, I get an error:

Uncaught ReferenceError: __WEBPACK_IMPORTED_MODULE_10_lodash___default is not defined

Is there a workaround for this, or imported modules cannot be used in the function that are sent to the worker?

utizr avatar Feb 19 '18 13:02 utizr

Same question here

tomvo avatar Sep 20 '18 10:09 tomvo

So do I. any update from this ?

ss-bb avatar Sep 25 '18 08:09 ss-bb

Essentially the same question, trying to use imported module with webpack

ghost avatar Oct 06 '18 20:10 ghost

Doesn't look like the author answers questions. Perhaps this is abandonware?

rconstantine avatar Nov 14 '18 22:11 rconstantine

same question!

jacobcoro avatar Feb 26 '20 14:02 jacobcoro

Any news?

LorhanSohaky avatar Mar 02 '20 02:03 LorhanSohaky

inside worker use importScripts instead of import

chinh2597 avatar Jun 07 '21 04:06 chinh2597