added commit hash to footer
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import adapter from '@sveltejs/adapter-node';
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
import { mdsvex } from 'mdsvex';
|
||||
import * as child_process from 'node:child_process';
|
||||
|
||||
const missingPaths = [
|
||||
// "/games/swordsnstuff",
|
||||
@@ -24,6 +25,9 @@ const config = {
|
||||
handleMissingId: 'warn',
|
||||
handleUnseenRoutes: 'warn',
|
||||
},
|
||||
version: {
|
||||
name: child_process.execSync('git rev-parse HEAD').toString().trim()
|
||||
},
|
||||
},
|
||||
extensions: ['.svelte', '.md'],
|
||||
preprocess: [
|
||||
|
||||
Reference in New Issue
Block a user