fix: env import

This commit is contained in:
DIYgod 2025-04-15 17:54:02 +08:00
parent 5eca88d768
commit 1a9db7136e
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,4 @@
export * from "./src/bridge"
export * from "./src/env"
export { type AppType } from "./src/hono"
export * from "./src/hono"
export * from "./src/language"

View File

@ -1,10 +1,11 @@
/**
* This env for apps/desktop
*/
import { DEFAULT_VALUES } from "@follow/shared/env.common"
import { createEnv } from "@t3-oss/env-core"
import { z } from "zod"
import { DEFAULT_VALUES } from "./env.common"
export const env = createEnv({
clientPrefix: "VITE_",
client: {

View File

@ -1,7 +1,7 @@
/**
* This env for apps/mobile
*/
import { DEFAULT_VALUES } from "@follow/shared/env.common"
import { DEFAULT_VALUES } from "./env.common"
const profile = "prod"

View File

@ -1,10 +1,11 @@
/**
* This env for apps/ssr
*/
import { DEFAULT_VALUES } from "@follow/shared/env.common"
import { createEnv } from "@t3-oss/env-core"
import { z } from "zod"
import { DEFAULT_VALUES } from "./env.common"
export const env = createEnv({
clientPrefix: "VITE_",
client: {

View File

@ -1,4 +1,3 @@
export * from "./constants"
export * from "./env"
export type { AppType, languageSchema, users } from "./hono"
export * from "./language"