mirror of
https://github.com/coder/code-server.git
synced 2025-07-30 13:32:59 +08:00
Re-export express for plugins
This commit is contained in:
@ -17,6 +17,7 @@ const originalLoad = require("module")._load
|
||||
require("module")._load = function (request: string, parent: object, isMain: boolean): any {
|
||||
if (request === "code-server") {
|
||||
return {
|
||||
express,
|
||||
field,
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user