fix: env import
This commit is contained in:
parent
5eca88d768
commit
1a9db7136e
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
export * from "./constants"
|
||||
export * from "./env"
|
||||
export type { AppType, languageSchema, users } from "./hono"
|
||||
export * from "./language"
|
||||
|
|
|
|||
Loading…
Reference in New Issue