https://datatables.net/download/ - what happened to the css and js subfolders with the download?

https://datatables.net/download/ - what happened to the css and js subfolders with the download?

mihomesmihomes Posts: 165Questions: 23Answers: 0

https://datatables.net/download/

As the title suggests... what happened to the subfolders in the download? The css and js folders in particular which included the different bs4, bs5, etc versions? I haven't downloaded since 1.13.8, but they were always there for each new version.

In my case, I currently use bs5, and it made things really nice as I could modify the bs5 js to my liking - like modifying the defaults and pagination - and just build it together with the base/main js file. Now, it appears you choose bs5 on the download page and everything is combined all in one js and css file. Not an issue with the css, but the js is a different story.

Answers

  • mihomesmihomes Posts: 165Questions: 23Answers: 0

    I was able to manually download the files I needed from the cdn list once I found them, but would still be much easier if it was the way it used to be when downloading.

    https://cdn.datatables.net/2.1.4/

  • allanallan Posts: 63,290Questions: 1Answers: 10,428 Site admin

    They were removed because they caused confusion. There weren't needed and were really an artifact of the the build process to create the zip. The way it worked was to copy all the folders into one directory - spin over them to construct the concatenated files, which are the ones that actually then are used in the browser. Now I delete the sub folders because of questions such as "What are all these extra files that aren't being used", etc.

    If you need the files individually rather than concatenated, then yes, for now you'd need to download them from the CDN.

    Allan

Sign In or Register to comment.