mirror of
https://github.com/idootop/mi-gpt.git
synced 2025-04-12 17:42:48 +00:00
fix: 使用嵌入版本号
This commit is contained in:
parent
b2bf3a3a4e
commit
721e7b6081
|
@ -1,6 +1,6 @@
|
||||||
import { readJSONSync } from "./io";
|
import { version } from "../../package.json";
|
||||||
|
|
||||||
export const kVersion = readJSONSync("package.json").version;
|
export const kVersion = version;
|
||||||
|
|
||||||
export const kAreYouOK = "¿ʞо ∩оʎ ǝɹɐ"; // are you ok?
|
export const kAreYouOK = "¿ʞо ∩оʎ ǝɹɐ"; // are you ok?
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
"target": "esnext",
|
"target": "esnext",
|
||||||
"module": "esnext",
|
"module": "esnext",
|
||||||
"esModuleInterop": true,
|
"esModuleInterop": true,
|
||||||
"moduleResolution": "node"
|
"moduleResolution": "node",
|
||||||
|
"resolveJsonModule": true
|
||||||
},
|
},
|
||||||
"include": ["src", "tests"],
|
"include": ["src", "tests"],
|
||||||
"exclude": ["node_modules", "dist"]
|
"exclude": ["node_modules", "dist"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user