File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,9 +3,7 @@ import { defineConfig } from "vitepress";
33// @ts -ignore: linting before typedoc is generated will throw an error here
44import typedocSidebar from "../api/typedoc-sidebar.json" ;
55import { fullVersion , majorVersion , majorNumber } from "./version" ;
6-
7- const isProd = process . env . NODE_ENV === "production" ;
8- const siteUrl = "https://cooklang-parser.tmlmt.com" ;
6+ import { isProd , siteUrl } from "./constants" ;
97
108// https://vitepress.dev/reference/site-config
119export default defineConfig ( {
Original file line number Diff line number Diff line change 1+ export const isProd = process . env . NODE_ENV === "production" ;
2+ export const siteUrl = "https://cooklang-parser.tmlmt.com" ;
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import DefaultTheme from " vitepress/theme" ;
33import { isPrerelease , majorVersion } from " ../version" ;
4+ import { isProd , siteUrl } from " ../constants" ;
45
56const { Layout } = DefaultTheme ;
67 </script >
You can’t perform that action at this time.
0 commit comments