fix flags.ts not found
This commit is contained in:
+2
-2
@@ -14,8 +14,8 @@
|
||||
|
||||
import { cp, readdir, rm } from "node:fs/promises";
|
||||
import { join, relative } from "node:path";
|
||||
import { injectPrecacheManifest, precachePathsFromOutputs } from "../src/pwa/precache";
|
||||
import { ensureIcons, ICON_SIZES, ICONS_DIR } from "./generate-icons";
|
||||
import { injectPrecacheManifest, precachePathsFromOutputs } from "../src/pwa/precache.ts";
|
||||
import { ensureIcons, ICON_SIZES, ICONS_DIR } from "./generate-icons.ts";
|
||||
|
||||
const ROOT = join(import.meta.dir, "..");
|
||||
const DIST = join(ROOT, "dist");
|
||||
|
||||
+4
-4
@@ -1,9 +1,9 @@
|
||||
import { serve } from "bun";
|
||||
import { join, normalize, sep } from "node:path";
|
||||
import { ensureIcons, ICONS_DIR } from "../scripts/generate-icons";
|
||||
import { injectPrecacheManifest } from "./pwa/precache";
|
||||
import { auth } from "./server/auth";
|
||||
import { AUTH_ENABLED } from "./server/flags";
|
||||
import { ensureIcons, ICONS_DIR } from "../scripts/generate-icons.ts";
|
||||
import { injectPrecacheManifest } from "./pwa/precache.ts";
|
||||
import { auth } from "./server/auth.ts";
|
||||
import { AUTH_ENABLED } from "./server/flags.ts";
|
||||
|
||||
const ROOT = join(import.meta.dir, "..");
|
||||
const IS_PRODUCTION = process.env.NODE_ENV === "production";
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
|
||||
import passport from "passport";
|
||||
import { Strategy as LocalStrategy } from "passport-local";
|
||||
import { type AppDb, type User, getDb } from "./db";
|
||||
import { type AppDb, type User, getDb } from "./db.ts";
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// Public types
|
||||
|
||||
Reference in New Issue
Block a user