TypeError: jquery__WEBPACK_IMPORTED_MODULE_1___default(...)(...).magnificPopup is not a function code example Example: magnificpopup is not a function pass $ in $(document).ready(function ($)