JavaScript Modules Enable/Disable option

So, I’m struggling to make my project being separated into many different js files i need to use some variables from different js files the problem is that i cant import any cause theres no option for adding type=“module” into specific js file in bss the only way is after exporting manually which is annoying cause I have to keep all varabiels into one js file which is mess.

So, I would like to see a option to enable or disable in specific js file type module.