You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is a primitive string replace resolve based on unified string representations of specifiers. where a single asterisk in a string can occure and gets replaced with a instance of the unified representation of the importSpecifier.
constbaseUrl=import.meta.urlconstresolveId=(id,importedById)=>{constUri=newURL(id,baseURL);// change the base example keeps search parms and that // new URL(Uri.href.replace(Uri.origin, baseURL)); returnUri;}constloader=(resolvedId)=>{returnfetch(resolvedId).then((ok)=>{},(err)=>{});}
// get it without the imports on top we supply that fetch('https://unpkg.com/@rollup/[email protected]/dist/es/index.js').then(asyncres=>(awaitres.text()).split('\n').slice(10).join('\n'))
nodeNextResolve
is a primitive string replace resolve based on unified string representations of specifiers. where a single asterisk in a string can occure and gets replaced with a instance of the unified representation of the importSpecifier.
lets take: https://unpkg.com/@rollup/[email protected]/dist/es/index.js
shim strip
The text was updated successfully, but these errors were encountered: