mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
chore: read version from package.json
This commit is contained in:
@@ -39,7 +39,7 @@ function getGitBranch() {
|
||||
}
|
||||
|
||||
function getVersion() {
|
||||
return readFileSync("VERSION").toString();
|
||||
return JSON.parse(readFileSync("package.json").toString()).version;
|
||||
}
|
||||
|
||||
export default defineConfig({
|
||||
|
||||
Reference in New Issue
Block a user