We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I've been following your work on this project since the beginning and now I'm ready to give it a try.
I'm using greenlet inside my Vue 2 application and in one particular case I've the following error :
greenlet
Uncaught (in promise) ReferenceError: [_PATH_]_node_modules_babel_runtime_helpers_esm_objectSpread2__WEBPACK_IMPORTED_MODULE_2__ is not defined
It's seems it miss a dependency to transpile the spread operator. I don't know if it is a Vue specific issue or something more global
Inside a vue compoenent :
import greenlet from 'greenlet'; const fnSomeWorkerAction = greenlet((itemsToWorkWith) => { return itemsToWorkWith.map((item) => { return { ...item, }; }); }); export default { data() { items: Array.from(Array(100)).map((item, idx) => ({ id: idx, name: `Plop ${idx}` }), fnSomeWorkerAction }, mounted() { this.fnSomeWorkerAction(this.items); } }
The text was updated successfully, but these errors were encountered:
This is a Vue issue. Don't transpile to helpers when using Greenlet, that isn't supported.
Sorry, something went wrong.
No branches or pull requests
Issue
Hi, I've been following your work on this project since the beginning and now I'm ready to give it a try.
I'm using
greenlet
inside my Vue 2 application and in one particular case I've the following error :It's seems it miss a dependency to transpile the spread operator. I don't know if it is a Vue specific issue or something more global
Sep to reproduce
Inside a vue compoenent :
The text was updated successfully, but these errors were encountered: