Closed jlsjonas closed 5 years ago
I was affected by this when I started @enso-ui.
And by the way, I fixed it by refactoring the spread operator.
🤔 interesting...
The issue makes sense, but it wasn't an issue before... presumably as it was within a .Vue
file and thus still required transpiling.
I fixed it by refactoring the spread operator.
You don't happen to have any code example? 😄
instead of doing return { ...obj, a: 5 }
just obj[a] = 5; return obj
I'll have to write mine with if's 😬 will make do thanks
This is a bug | question.
Prerequisites
3.3 upgrade
Description
Quite obscure...was anything changed to ES6 support? I moved my (laravel-websockets-related) patch from IO/Notifications.vue to the new
websockets.js
, however webpack seems to error on the es6 destructuring that's happening there.Apologies if not related to Enso itself
Steps to Reproduce
node_modules/@enso-ui/ui/src/modules/store/websockets.js
'snew Echo
Expected behavior
compilation to succeed
Actual behavior
Parsing error, seemingly not being able to handle object destructuring (ES6) anymore