@ -44,6 +44,7 @@ export class CompilerImports extends Plugin {
return {}
}
})
this.on('filePanel', 'setWorkspace', () => this.urlResolver.clearCache())
async setToken () {
@ -42,6 +42,10 @@ export class RemixURLResolver {
this.protocol = protocol
clearCache () {
this.previouslyHandled = {}
/**
* Handle an import statement based on github
* @param root The root of the github import statement