Modern Script Loading
If you're implementing module/nomodule, this might help clarify the trade-offs and options you have available.
http://jasonformat.com/modern-script-loading/ …pic.twitter.com/a3jVXzGfVY
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Ah yeah, so just using UA sniffing to correct for browsers that request the wrong script?
Not even that. Just if (IS_MODERN_UA) { <script type=module src=modern.mjs></script> } else { <script src=legacy.js></script> } Also, it's ok if IS_MODERN_UA doesn't catch every possible UA string that supports modules, as the fallback still works.
module script should be .mjs no?
On the web it doesn’t matter
We place scripts (and CSS!) for old browsers in `/fallback`, and for newer ones in `/evergreen`. The only file that becomes differential based on UA is the initial HTML, just as you describe.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.