Closed ChuckIsReady closed 4 years ago
It's an issue with how angular-sortablejs imports it, which had to be solved in ngx-sortablejs. So you should open this issue in angular-sortablejs.
IMO the issue is not how angular-sortablejs
import it, but a semantic versionning bug on this module.
Since breaking changes were introduced, a new major version should have been issued, which would have prevented npm update
from breaking all framework bindings which depend on this module.
(Nevertheless, this module is super convenient, thanks for the good work!)
Problem:
in version 1.9.0, i use angular-legacy-sortablejs by setting this on index.js (with webpack)
require('angular-legacy-sortablejs-maintained/angular-legacy-sortable.js');
after i update to 1.10.0 there is a error on console:
TypeError: Sortable.create is not a function
Then i find 1.10.0 is completely reconstructed.
in 1.9.0 :
in 1.10.0 :
and angular-legacy-sortablejs get sortablejs by this way:
So can you think about adding some conditions so that sortablejs can continue to be used by angular-legacy-sortablejs
thank you !