In a Django project I'm building, I typically import my JQuery code into a Django template like so:
target_img.src = jic.compress(source_img,quality,output_format).src;
Node packages libraries, are usually bundled into a
public/bundle.js file. For this you need a bundler like
You would also need to create separate bundle step with
npm in your deployment pipeline, which would bundle all your js files into a
However, if you don't a heavy js app, you can just put the
min.js file somewhere in the static folders manually.