Exclude files from type: module without changing file extension
I had to set "type": "module" in my package.json file and I would like to exclude some files from being treated as ES module files but WITHOUT changing its extension, as I need to keep it as .js file because other server scripts, (which I cannot change) points directly to that specific filename.js file and… Read More Exclude files from type: module without changing file extension