there is a line of code in the _require function
const filename = Module._resolveFilename(id, this)
It seems to want to find the entry file of the require module. however, 'vscode' doesn't have a such file. as the result, _resolveFilename will throw error "cannot find module 'vscode' ".
Now I can only call "require('vscode')" before hook. I think it is not a good solution. Will this be fixed?
there is a line of code in the _require function
const filename = Module._resolveFilename(id, this)It seems to want to find the entry file of the require module. however, 'vscode' doesn't have a such file. as the result, _resolveFilename will throw error "cannot find module 'vscode' ".
Now I can only call "require('vscode')" before hook. I think it is not a good solution. Will this be fixed?