Is there a way to load a js file, with RequireJS, that is not within a module, or theme, but still within your project. I had assumed relative pathing would work but when deployed, I get a 404 as the page is trying to load the file from within a static directory (frontend/Smartwave/porto/en/library/public/js/desired_file.js).
Below is an example of my failed attempt.
paths: {
test: 'library/public/js/desired_file',
};```