Closed s4san closed 2 years ago
async function importRelative() { const i = await import('//code.jquery.com/jquery-3.5.1.js'); console.log(i); };
Dynamic imports like these are broken in Chrome due to browsers treating URLs starting with / as modules specified through import maps
/
Dynamic imports like these are broken in Chrome due to browsers treating URLs starting with
/
as modules specified through import maps