Archived
1
0

Re-export express for plugins

This commit is contained in:
Asher
2021-01-13 16:26:11 -06:00
parent 5f1fab7d27
commit a8e928798b
5 changed files with 13 additions and 372 deletions

View File

@ -78,6 +78,15 @@ import * as express from "express"
* ]
*/
/**
* The Express import used by code-server.
*
* Re-exported so plugins don't have to import duplicate copies of Express and
* to avoid potential version differences or issues caused by running separate
* instances.
*/
export { express }
/**
* Use to add a field to a log.
*