mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-22 15:22:43 +00:00
Fix module resolution when $CWD != .
This commit is contained in:
1 parent
168758924c
commit
2feb90475e
8 files changed
+22
-4
No files matched your search
+2
-1
@@ -16,7 +16,8 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
require("module-alias/register");
|
||||
import moduleAlias from "module-alias";
|
||||
moduleAlias(__dirname + "../../../package.json");
|
||||
import "dotenv/config";
|
||||
|
||||
import { CDNServer } from "./Server";
|
||||
|
||||
Reference in new issue
Block a user