table-dragger icon indicating copy to clipboard operation
table-dragger copied to clipboard

Make dragula-with-animation an external dependency

Open Curlack opened this issue 3 years ago • 1 comments

First of all, I love this plugin! In our current project, I'm required to provide table row resequencing feature. With this plugin I was able to do that with one hand tied behind my back :D. I'm also required to provide drag and drop of items in lists, all the while keeping download size to a minimum. I saw table dragger requires dragula-with-animation to work, but packs it internally. So it's there but not there, if you catch my meaning.

Is it possible to make table dragger require dragula-with-animation as an external dependency? Otherwise I'll end up having a duplicate dragula-with-animation plugin added to my solution.

Thanks in advance.

Curlack avatar Jan 16 '23 12:01 Curlack

It's also possible to just expose it in index.js e.g.

export { default as dragula } from 'dragula-with-animation';

Curlack avatar Jan 16 '23 13:01 Curlack