Bake PUBLIC_SSR into the build instead of reading it at runtime
This commit is contained in:
parent
3b79271874
commit
7f0d823d6c
4 changed files with 20 additions and 7 deletions
3
src/app.d.ts
vendored
3
src/app.d.ts
vendored
|
|
@ -9,6 +9,9 @@ import type {
|
|||
import type { ThreadDetail } from "$lib/forum/thread";
|
||||
|
||||
declare global {
|
||||
// Injected by vite.config.ts from PUBLIC_SSR
|
||||
const __SQUALK_SSR__: boolean;
|
||||
|
||||
namespace App {
|
||||
// interface Error {}
|
||||
// interface Locals {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue