Skip to content
New issue

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

Make dragula-with-animation an external dependency #49

Open
Curlack opened this issue Jan 16, 2023 · 1 comment
Open

Make dragula-with-animation an external dependency #49

Curlack opened this issue Jan 16, 2023 · 1 comment

Comments

@Curlack
Copy link

Curlack commented Jan 16, 2023

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 Curlack changed the title Make Dragula an external dependency Make dragula-with-animation an external dependency Jan 16, 2023
@Curlack
Copy link
Author

Curlack commented Jan 16, 2023

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant