Open dgreuel opened 3 years ago
Does setting skipLibCheck: false
or other skip*
settings fix this?
Using skipLibCheck
does allow it to run, but so does adding Sortable
to the import in dist/index.d.ts
, which is already importing other things from sortablejs
.
- import { MoveEvent, Options, SortableEvent } from "sortablejs";
+ import Sortable, { MoveEvent, Options, SortableEvent } from "sortablejs";
This seems preferable. How does that file get built?
That's what I found as well...not sure why that import doesn't end up in the compiled definitions file.
At first glance, it looks like it should already be included here. ❓
I wonder if this is the same underlying issue from Parcel: https://github.com/parcel-bundler/parcel/issues/4250
What was the reason for switching to Parcel for building this library? At least the Parcel-2 beta doesn't quite seem ready
Is that issue going to be resolved? It prevents me from publishing app, and I don't want to use skips
Use parcel@2.0.1 to build can resolve this problem.
Getting these errors when trying to build my project
yarn.lock
has these versions: