Archived
1
0

Use options instead of separate tsconfig

Negates the need to duplicate the HappyPack config.
This commit is contained in:
Asher
2019-01-22 13:48:43 -06:00
committed by Kyle Carberry
parent e7d7ff3733
commit 777f460957
3 changed files with 8 additions and 22 deletions

View File

@ -35,7 +35,7 @@ export const createApp = (registerMiddleware?: (app: express.Application) => voi
try {
ws.send(data);
} catch (error) {
logger.error(error.message, field("error", error));
logger.error(error.message);
}
},
onClose: (cb): void => ws.addEventListener("close", () => cb()),