clarketm / TableExport

The simple, easy-to-implement library to export HTML tables to xlsx, xls, csv, and txt files.
https://tableexport.travismclarke.com/
Apache License 2.0
888 stars 289 forks source link

jQuery dependency warning (@5.0.0) #122

Closed pbalzano91 closed 6 years ago

pbalzano91 commented 6 years ago

jquerydep Getting this warning at version 5.0.0 (imported with npm, bundling with webpack).

martinhartwig commented 6 years ago

Why did you close this issue? What was your solution?

alexrififi commented 5 years ago

I think jquery is Optional... but it is not

jhadenfeldt commented 4 years ago

jQuery is listed as a peer-dependency. Since npm3, peer-dependencies aren't installed automatically anymore. If you want to get rid of the warning, you'll have to add jQuery to your own package.json:

npm i -s jquery