sirxemic/jquery.ripples

Using Ripple JS with Webpack

Opened this issue · 2 comments

Good day, i was trying to use ripple JS with webpack some months back, and when going through the documentation it was not really specified how to use ripple JS with webpack, i would like to add the solution i found to your readme.md if you are comfortable with it as we are currently in the Hacktoberfest season in the developers community. Thanks and i look forward to your response.

Hi! I'm not sure if I understand correctly what you are talking about. Are you thinking of documenting that the user just has to do require('jquery.ripples') or import 'jquery.ripples' to use this when using bundlers? I guess it makes sense to cover that in the readme, however trivial it is. So I'm fine with you contributing that way, though I do then suggest to keep the language bundler-agnostic (maybe using Webpack as well as Rollup as examples).