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
To supply new functions for System functions, extend TraceurLoader and override the functions normalize, locate, fetch, translate or instantiate. The first three are supported and we'll fix any bugs against them. The translate and instantiate are called but probably don't do what the standard expects.
For example, you might do something like
import{webLoader}from'./webLoader';classMyLoaderextendsTraceurLoader{constructor(){super(webLoader,window.location.href);}normalize(name){// bah I am normal!returnname;}}System=newMyLoader();