mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 16:56:27 +02:00
20 lines
393 B
TypeScript
20 lines
393 B
TypeScript
|
|
import { defineConfig } from "vitepress";
|
||
|
|
import { readFileSync } from "node:fs";
|
||
|
|
import { join, dirname } from "node:path";
|
||
|
|
import { fileURLToPath } from "node:url";
|
||
|
|
|
||
|
|
const PROJECT = "sqlite-vec";
|
||
|
|
const VERSION = readFileSync(
|
||
|
|
join(dirname(fileURLToPath(import.meta.url)), "..", "VERSION"),
|
||
|
|
"utf8"
|
||
|
|
);
|
||
|
|
|
||
|
|
export default {
|
||
|
|
load() {
|
||
|
|
return {
|
||
|
|
PROJECT,
|
||
|
|
VERSION,
|
||
|
|
};
|
||
|
|
},
|
||
|
|
};
|