If I import a js file like this :
const importedFile = require( './file1');
I can see all my functions and console logs of file1 running, but I can't run or use a specific variable
If I console.log( importedFile ) I get this : {} empty object !
How to get all variables from file1.js ?