mirror of
https://github.com/coder/code-server.git
synced 2026-05-05 03:55:18 +02: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