Closed nullablemind closed 3 years ago
Hi @antonazgarovich , I'm so sorry for my late response! Yes, that's a nice work-around you've got there :) I've noticed other people running into this kind of problem as well. Fortutately, I've released v2.0.0 today, which contains proper es5 build-output, so there should be no extra config needed in webpack from now on. Let me now if this solves your issue.
I'm closing this issue for now. Feel free the re-open or refer to this issue if you run into similar problems.
I take an example from the documentation. I connect dependencies.
Running webpack and getting an error
Fixed with option in webpack
include: [/src/, /node_modules\/react-laag/]
. With plugin for babel'@babel/plugin-proposal-object-rest-spread'
. Before beexclude: /node_modules/
.Perhaps it is worth collecting bundle with the correct destructuring, rest, spread.