RowGroup 1.0.3 not working on NPM
RowGroup 1.0.3 not working on NPM
Athorcis
Posts: 2Questions: 0Answers: 0
The RowGroup 1.0.3 extension on NPM (https://www.npmjs.com/package/datatables.net-rowgroup) isn't working, probably because the script is not the same as the one on the CDN https://cdn.datatables.net/rowgroup/1.0.3/js/dataTables.rowGroup.js
This discussion has been closed.
Replies
In what way is it not working for you? It appears to install okay for me.
Allan
I'm getting weird JS errors when using it but it doesn't matter: the main problem is that the js file for version 1.0.3 is not same on NPM and the CDN.
This is the CDN file and this is the file that npm will distribute. They appear to be identical with a diff.
Which of the two is different for you?
Allan
Actually, the npm content is quite different and contains ES6 code breaking my build (need to be babelized). Moreover, the minified version is empty. Definitely the 1.0.3 npm package is broken.
https://unpkg.com/datatables.net-rowgroup@1.0.3/js/
Got it! It looks like a dev version has been tagged by mistake. I'll package up a 1.0.4 without the latest dev changes.
Allan