Fix import path in three places.
Switch Dockerfile to use absolute paths
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { readFileSync, existsSync } from "node:fs"
|
||||
import { join } from "node:path"
|
||||
import { log } from "./logger";
|
||||
import { log } from "./logger.js";
|
||||
|
||||
interface Config {
|
||||
Mq: Mq,
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { connect, JSONCodec } from "nats";
|
||||
import type { ConnectionOptions, NatsConnection, Payload } from "nats";
|
||||
import { log } from "./logger";
|
||||
import { log } from "./logger.js";
|
||||
import { hostname } from "node:os";
|
||||
import type { MQFileUpdate } from "@owlboard/backend-data-contracts/dist/data-ingress_mq-file-update";
|
||||
import type { Mq } from "./config";
|
||||
import type { Mq } from "./config.js";
|
||||
|
||||
const jc = JSONCodec();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user