kopia lustrzana https://github.com/FacilMap/facilmap
Fix esrun failure due to fs/promises import (digital-loukoum/esrun#40)
rodzic
fdfc443e31
commit
b9ac3b31a2
|
@ -1,6 +1,6 @@
|
||||||
import type { Manifest } from "vite";
|
import type { Manifest } from "vite";
|
||||||
import { paths, serve } from "facilmap-frontend/build.js";
|
import { paths, serve } from "facilmap-frontend/build.js";
|
||||||
import { readFile } from "fs/promises";
|
import { readFile } from "node:fs/promises";
|
||||||
import type { ID, Line, Marker, PadData, Type } from "facilmap-types";
|
import type { ID, Line, Marker, PadData, Type } from "facilmap-types";
|
||||||
import * as ejs from "ejs";
|
import * as ejs from "ejs";
|
||||||
import * as utils from "facilmap-utils";
|
import * as utils from "facilmap-utils";
|
||||||
|
|
|
@ -3,7 +3,7 @@ import md5 from "md5-file";
|
||||||
import { schedule } from "node-cron";
|
import { schedule } from "node-cron";
|
||||||
import { open, type Reader, type Response } from "maxmind";
|
import { open, type Reader, type Response } from "maxmind";
|
||||||
import { createWriteStream } from "fs";
|
import { createWriteStream } from "fs";
|
||||||
import { rename } from "fs/promises";
|
import { rename } from "node:fs/promises";
|
||||||
import https from "https";
|
import https from "https";
|
||||||
import zlib from "zlib";
|
import zlib from "zlib";
|
||||||
import config from "./config.js";
|
import config from "./config.js";
|
||||||
|
|
Ładowanie…
Reference in New Issue