fetch-event-source
fetch-event-source copied to clipboard
use import paths that include extension
trafficstars
eg, change this
export { fetchEventSource, EventStreamContentType } from './fetch';
to this
export { fetchEventSource, EventStreamContentType } from './fetch.js';
this change would make the script sources usable as-is from a cdn