import * as moduleAlias from "module-alias"; import * as path from "path"; moduleAlias.addAlias("@common", path.resolve(__dirname, "..", "common")); moduleAlias.addAlias("@server", __dirname); moduleAlias.addAlias("env", require.resolve("../env")); moduleAlias.addAlias("paths", require.resolve("../paths"));