3 ms·
Browsers don't care what extension you serve something as, so it doesn't break the interop we want with browsers if you put your files as `.mjs`.
by snek 8y ago
Browsers don't care what extension you serve something as, so it doesn't break the interop we want with browsers if you put your files as `.mjs`.
- bryanrasmussen 8y agomy point exactly, browsers care what mime type you use and the extension is meaningless. I thought I was pretty clear on this matter?
- BillinghamJ 8y agoBoth old "script"-style JS and the new module kind have the same MIME anyway