mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
electron: Fix JSON imports
This commit is contained in:
parent
7fb3abb4ea
commit
6006d01f8b
@ -8,7 +8,7 @@ import log from "../services/log.js";
|
||||
import env from "../services/env.js";
|
||||
import utils from "../services/utils.js";
|
||||
import protectedSessionService from "../services/protected_session.js";
|
||||
import packageJson from "../../package.json";
|
||||
import packageJson from "../../package.json" with { type: "json" };
|
||||
import assetPath from "../services/asset_path.js";
|
||||
import appPath from "../services/app_path.js";
|
||||
import { Request, Response } from 'express';
|
||||
|
@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
import build from "./build.js";
|
||||
import packageJson from "../../package.json";
|
||||
import packageJson from "../../package.json" with { type: "json" };
|
||||
import dataDir from "./data_dir.js";
|
||||
|
||||
const APP_DB_VERSION = 228;
|
||||
|
@ -5,7 +5,7 @@ import dateUtils from "../date_utils.js";
|
||||
import path from "path";
|
||||
import mimeTypes from "mime-types";
|
||||
import mdService from "./md.js";
|
||||
import packageInfo from "../../../package.json";
|
||||
import packageInfo from "../../../package.json" with { type: "json" };
|
||||
import utils from "../utils.js";
|
||||
import protectedSessionService from "../protected_session.js";
|
||||
import sanitize from "sanitize-filename";
|
||||
|
Loading…
x
Reference in New Issue
Block a user