Skip to content

Commit

Permalink
fix: replace require with import
Browse files Browse the repository at this point in the history
Close #67
  • Loading branch information
paodb authored and javier-godoy committed Jul 5, 2023
1 parent 2a74fa3 commit 162c3fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import jQuery from "jquery";

(function (factory) {
if (typeof module === 'object' && typeof module.exports === 'object') {
factory(require('jquery'), window, document);
factory(jQuery, window, document);
} else {
factory(jQuery, window, document);
}
Expand Down

0 comments on commit 162c3fc

Please sign in to comment.