-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Restore sortable/Sortable.js #1929
Comments
why? |
hey! I fixed it by adding the import as a module relative to your path:
Then you can use Sortable.create(whatever.... again. Hope this helps! |
@waynevanson presumably What's the reason for not including an unminified file like before? |
I tried that, but e.g. Firefox gives me: I'm currtently just doing some flat layouting with Bulma, so this was a quick workaround. |
Stumbled over this, too. Using the node module only to get "sortable.js" into my ASP.NET Core project via gulpfile.js. |
Can you please tell me, @waynevanson, what the intention was? Not being a Nodejs developer, I still love to use npm to pull dependencies into my C# ASP.NET Core project. Your intended change makes life more difficult now. |
@bytestream theres no real reason. Do you have a reason for needing it? Files are minified for production, so I don't think it makes much of a difference leaving it out. The reasoning behind some of these accidental changes are that were trying to get typescript compiling with tools that we can manage in the future. Before we had no typescript in the code base. @UweKeim i didn't realise users would be importing it from |
I was using in gulpjs to concatenate and minify multiple library files. |
Hi @waynevanson ! I'm in the same boat! I use yarn for dependencies management but I'm not using a module bundler to pack my javascript, just Rails with the good old asset pipeline. So for all of us working on "legacy" projects, having a precompiled version of sortable.js is really useful. Would be great if you could add it back or else I'll just stick with version 1.10.2. |
@pomartel Which file are you after? The non minified version that is |
Usually both: using the non-minified in debug builds and the minified in release builds. |
@waynevanson The Rails asset pipeline has its own minifier so for my use case the non-minified |
version 1.12.0
version 1.10.2
The text was updated successfully, but these errors were encountered: