lodash
lodash
pmengo
Posts: 74Questions: 37Answers: 2
Dattatables is using lodash . My question is how can i avoid loading loadsh if allready loaded
This discussion has been closed.
Answers
No it isn't :-). DataTables has no dependency other than jQuery.
Allan
I found lodash in the code too.. Apparently, it's part of what webpack has built.
Is there any way to remove it? It's in the datatables.js file that I downloaded from here using the build.
Thanks!
Luciano
I think it's in one of the plugins (PDF, or one of those)
DataTables itself does not depend on lodash, nor do any of its first party extensions. It is quite possible the pdfmake uses it.
Allan
It does indeed appear that pdfmake uses lodash, and it contains its own internal one, which is clobbering the global output - see this pdfmake issue.
pdfmake hasn't been updated since October, so I'm not sure this will be addressed there. I think I need to find a new pdf library...
Allan