2 ms·
| but it starting to get a standard inside browsers as well Browsers don't care about the file extension, just the mime-type. Node supports modules with any ex
by spankalee 7y ago
| but it starting to get a standard inside browsers as well
Browsers don't care about the file extension, just the mime-type. Node supports modules with any extension now as well. I wouldn't use .mjs, it causes lots of problems.
- tobiu 7y agoin case it does cause problems, it would be very easy to change the file names. the dist versions do use .js files, since webpack compiled modules are not real ones. feel free to open a ticket inside the issues tracker with more input about the problems and i will look into it.