I was working on an old WordPress project that imports an old version of Foundation framework.
I got everything working by importing all foundation dependencies, and I have been able to see my plugin working. However, after some time and without any kind of further interaction with my code nor with my Linux web server (I keep track of everything in Git and I'm a skilled server administrator), JavaScript on my website broke.
The error I'm getting is the following:
Uncaught SyntaxError: The requested module './jquery' does not provide an export named 'default' (at foundation.util.touch:6:8)
where './jquery' is a file in which I copied jQuery source code (P.S.: Nginx is already configured to treat './jquery' file as a JavaScript file even if it hasn't the correct extension.