summary refs log tree commit diff
path: root/src/bundle
diff options
context:
space:
mode:
Diffstat (limited to 'src/bundle')
-rw-r--r--src/bundle/start.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bundle/start.ts b/src/bundle/start.ts

index df50fd4ca..fe177cbc7 100644 --- a/src/bundle/start.ts +++ b/src/bundle/start.ts
@@ -17,7 +17,9 @@ */ // process.env.MONGOMS_DEBUG = "true"; -require("module-alias/register"); +import moduleAlias from "module-alias"; +moduleAlias(__dirname + "../../../package.json"); + import "reflect-metadata"; import cluster, { Worker } from "cluster"; import os from "os";