I'm working on a React website written by someone else, and it contains the lines:
import "jquery/dist/jquery.min.js"
import "popper.js/dist/popper.min"
import "bootstrap/dist/js/bootstrap.min.js"
The site it throwing a 404 error, and I want to test whether these three imports are the cause. Is there a way to modify the code to check if each import returned something non-falsy?