From bf0de64b8e11a3af7e2ee5c9e1b7fbdf60de80a0 Mon Sep 17 00:00:00 2001 From: john Date: Tue, 16 Jul 2024 17:53:55 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 3 +- .env.production | 7 +-- index.html | 6 +-- public/pioneer.svg | 1 + public/vite.svg | 1 - src/App.css | 2 +- src/App.tsx | 6 +-- src/assets/home_top_bg.svg | 74 ++++++++++++++++++++++++++- src/components/BottomTab-m.module.css | 2 +- src/main.tsx | 9 ++-- src/pages/Frends-m.module.css | 2 +- src/pages/Frends.tsx | 8 ++- src/pages/Guide-m.module.css | 4 +- src/pages/Guide.tsx | 4 +- src/pages/Home-m.module.css | 1 + src/pages/Home.tsx | 52 +++++++++++++++---- src/pages/Leaderboard-m.module.css | 2 +- src/server/api.ts | 9 +++- src/server/module.d.ts | 1 + src/vite-env.d.ts | 7 +++ tsconfig.node.tsbuildinfo | 1 + vite.config.d.ts | 2 + vite.config.js | 29 +++++++++++ 23 files changed, 198 insertions(+), 35 deletions(-) create mode 100644 public/pioneer.svg delete mode 100644 public/vite.svg create mode 100644 tsconfig.node.tsbuildinfo create mode 100644 vite.config.d.ts create mode 100644 vite.config.js diff --git a/.env.development b/.env.development index cb2b42f..2126feb 100644 --- a/.env.development +++ b/.env.development @@ -1,10 +1,11 @@ ### # @LastEditors: John # @Date: 2024-06-18 10:12:21 - # @LastEditTime: 2024-07-15 11:02:08 + # @LastEditTime: 2024-07-16 17:26:50 # @Author: John ### VITE_BASE_URL= VITE_BASE_API_URL=/dev +VITE_TG_COMMUNITY=johntest_bot VITE_TG_BOT_NAME=johntest_bot VITE_TG_BOT_WEBAPP_NAME=shortname diff --git a/.env.production b/.env.production index 46c558f..ea50ab4 100644 --- a/.env.production +++ b/.env.production @@ -1,10 +1,11 @@ ### # @LastEditors: John # @Date: 2024-06-26 15:04:10 - # @LastEditTime: 2024-07-15 11:01:57 + # @LastEditTime: 2024-07-16 17:46:44 # @Author: John ### -VITE_BASE_URL= +VITE_BASE_URL=https://campaign.pineer.cc VITE_BASE_API_URL=/api -VITE_TG_BOT_NAME= +VITE_TG_COMMUNITY=+Juxrx7_My5czYjE1 +VITE_TG_BOT_NAME=Pioneerer_bot VITE_TG_BOT_WEBAPP_NAME= \ No newline at end of file diff --git a/index.html b/index.html index 6bdc231..74710e3 100644 --- a/index.html +++ b/index.html @@ -1,19 +1,19 @@ - + - Vite + React + TS + Pioneerer bot
diff --git a/public/pioneer.svg b/public/pioneer.svg new file mode 100644 index 0000000..9e0399a --- /dev/null +++ b/public/pioneer.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/App.css b/src/App.css index eeb7fcc..8aeea1f 100644 --- a/src/App.css +++ b/src/App.css @@ -2,7 +2,7 @@ body, html, #root { height: var(--tg-viewport-height); - background-color: black; + background-color: #261138; } @font-face { diff --git a/src/App.tsx b/src/App.tsx index 62cf440..9e0f275 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-07-13 10:21:58 - * @LastEditTime: 2024-07-15 15:37:43 + * @LastEditTime: 2024-07-16 17:14:10 * @Author: John */ import { Route, Routes, useNavigate } from "react-router-dom"; @@ -28,8 +28,8 @@ function App() { console.log("initData:", initData); console.log("window.location", window.location); - WebApp.setBackgroundColor("#000000"); - WebApp.setHeaderColor("#000000"); + WebApp.setBackgroundColor("#261138"); + WebApp.setHeaderColor("#261138"); useEffect(() => { // navigate("/guide"); diff --git a/src/assets/home_top_bg.svg b/src/assets/home_top_bg.svg index cef8762..05c8783 100644 --- a/src/assets/home_top_bg.svg +++ b/src/assets/home_top_bg.svg @@ -1 +1,73 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/BottomTab-m.module.css b/src/components/BottomTab-m.module.css index c51f12d..b4717a5 100644 --- a/src/components/BottomTab-m.module.css +++ b/src/components/BottomTab-m.module.css @@ -7,7 +7,7 @@ width: 100%; height: 83px; padding: 0 39px; - background-color: #000000; + background-color: #261138; z-index: 999; li { display: flex; diff --git a/src/main.tsx b/src/main.tsx index 3c60561..dd310ab 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-07-13 10:21:58 - * @LastEditTime: 2024-07-13 17:20:53 + * @LastEditTime: 2024-07-16 17:52:30 * @Author: John */ import ReactDOM from "react-dom/client"; @@ -11,10 +11,11 @@ import { WebAppProvider } from "@vkruglikov/react-telegram-web-app"; import { MemoryRouter } from "react-router-dom"; import VConsole from "vconsole"; import flexible from "./utils/flexible.ts"; +import { getUrlParameterByName } from "./utils/index.ts"; -// if (getUrlParameterByName("vconsole") === "1") { -new VConsole(); -// } +if (getUrlParameterByName("vconsole") === "1") { + new VConsole(); +} flexible(window, document); ReactDOM.createRoot(document.getElementById("root")!).render( // diff --git a/src/pages/Frends-m.module.css b/src/pages/Frends-m.module.css index 11c505e..7c43eac 100644 --- a/src/pages/Frends-m.module.css +++ b/src/pages/Frends-m.module.css @@ -119,7 +119,7 @@ padding: 17px 15px; position: fixed; bottom: 83px; - background-color: #000000; + background-color: #261138; z-index: 999; button { width: 345px; diff --git a/src/pages/Frends.tsx b/src/pages/Frends.tsx index edef8d8..d9633a4 100644 --- a/src/pages/Frends.tsx +++ b/src/pages/Frends.tsx @@ -1,3 +1,9 @@ +/* + * @LastEditors: John + * @Date: 2024-07-13 16:08:30 + * @LastEditTime: 2024-07-16 16:19:37 + * @Author: John + */ /* * @LastEditors: John * @Date: 2024-07-13 16:08:30 @@ -38,7 +44,7 @@ export default function () {
diff --git a/src/pages/Guide-m.module.css b/src/pages/Guide-m.module.css index f7e2306..b3f99b0 100644 --- a/src/pages/Guide-m.module.css +++ b/src/pages/Guide-m.module.css @@ -273,7 +273,7 @@ padding: 12px 89px; - background: #489149; + background: #f9b85b; /* 自动布局子元素 */ span { @@ -286,7 +286,7 @@ font-variation-settings: "opsz" auto; font-feature-settings: "kern" on; - color: #ffffff; + color: #261138; z-index: 0; diff --git a/src/pages/Guide.tsx b/src/pages/Guide.tsx index 6d9dd2b..2246670 100644 --- a/src/pages/Guide.tsx +++ b/src/pages/Guide.tsx @@ -168,12 +168,12 @@ function Proccess({
  • {title} - +
  • diff --git a/src/pages/Home-m.module.css b/src/pages/Home-m.module.css index 723508d..e0a9d9a 100644 --- a/src/pages/Home-m.module.css +++ b/src/pages/Home-m.module.css @@ -2,6 +2,7 @@ display: flex; flex-direction: column; align-items: center; + padding-bottom: 94px; .home_top { display: flex; align-items: center; diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index bf7265a..8a07e1e 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-07-13 10:50:24 - * @LastEditTime: 2024-07-15 15:32:17 + * @LastEditTime: 2024-07-16 16:27:46 * @Author: John */ import classes from "./Home-m.module.css"; @@ -11,26 +11,39 @@ import logo from "@/assets/logo.png"; import { CheckOutline, PlayOutline, StarOutline } from "antd-mobile-icons"; import { Button } from "antd-mobile"; import { useEffect, useState } from "react"; -import { api_homepage_query_user_income } from "@/server/api"; +import { + api_follow_twitter, + api_homepage_query_user_income, + api_query_whether_the_user_receives_the_registration_reward, +} from "@/server/api"; import { useWebApp } from "@vkruglikov/react-telegram-web-app"; export default function () { const WebApp = useWebApp(); const navigate = useNavigate(); - const [totalPoint, setTotalPoint] = useState(0); + const [totalPoint, setTotalPoint] = useState(); const [signReward, setSignReward] = useState(); const [tgReward, setTgReward] = useState(); + const [xReward, setXReward] = useState(); useEffect(() => { (async () => { - const { data } = await api_homepage_query_user_income().send({}); - const list = data?.data || []; - setTotalPoint(list.reduce((acc, cur) => acc + parseInt(cur.opValue), 0)); - setSignReward(list.find((v) => v.opType == 4)?.opValue); - setTgReward(list.find((v) => v.opType == 5)?.opValue); + UpdateHomeData(); })(); return () => {}; }, []); + async function UpdateHomeData() { + const { data: totalDataRes } = + await api_query_whether_the_user_receives_the_registration_reward().send( + {} + ); + setTotalPoint(totalDataRes?.data); + const { data: incomeRes } = await api_homepage_query_user_income().send({}); + const list = incomeRes?.data || []; + setSignReward(list.find((v) => v.opType == 4)?.opValue); + setTgReward(list.find((v) => v.opType == 5)?.opValue); + setXReward(list.find((v) => v.opType == 6)?.opValue); + } return ( <>
    @@ -49,7 +62,7 @@ export default function () { fill="none" onClick={() => { WebApp.openTelegramLink( - `https://t.me/${import.meta.env.VITE_TG_BOT_NAME}` + `https://t.me/${import.meta.env.VITE_TG_COMMUNITY}` ); }} > @@ -57,6 +70,21 @@ export default function () {
    +
    + Join X + Join X To Get Reward + +
    +
    Your rewards @@ -71,6 +99,12 @@ export default function () { Telegram Premium {tgReward || 0}
    + +
    + + Join X + {xReward || 0} +
    diff --git a/src/pages/Leaderboard-m.module.css b/src/pages/Leaderboard-m.module.css index 2b4c26f..74a2239 100644 --- a/src/pages/Leaderboard-m.module.css +++ b/src/pages/Leaderboard-m.module.css @@ -103,7 +103,7 @@ display: flex; padding: 12px 115px; - background: #489149; + background: #261138; > span { display: flex; align-items: center; diff --git a/src/server/api.ts b/src/server/api.ts index 4dd237d..09bb2c0 100644 --- a/src/server/api.ts +++ b/src/server/api.ts @@ -1,7 +1,7 @@ /* * @LastEditors: John * @Date: 2024-07-15 10:35:20 - * @LastEditTime: 2024-07-15 15:25:54 + * @LastEditTime: 2024-07-16 16:04:49 * @Author: John */ import { GET, POST } from "./client"; @@ -94,3 +94,10 @@ export function api_homepage_subordinates_users() { url: "/api/reward/subordinateUsers", }); } + +// 关注推特 +export function api_follow_twitter() { + return POST({ + url: "/api/reward/followTwitter", + }); +} diff --git a/src/server/module.d.ts b/src/server/module.d.ts index d8f959f..8bf5cc9 100644 --- a/src/server/module.d.ts +++ b/src/server/module.d.ts @@ -30,6 +30,7 @@ export type userBenefits = { export type subordinatesUsers = { account: string; + amount: string; accountType: number; allPid: string; chainType: number; diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts index 3e76aa1..8a8c6df 100644 --- a/src/vite-env.d.ts +++ b/src/vite-env.d.ts @@ -1,8 +1,15 @@ +/* + * @LastEditors: John + * @Date: 2024-07-13 10:21:58 + * @LastEditTime: 2024-07-16 16:27:31 + * @Author: John + */ /// interface ImportMetaEnv { readonly VITE_BASE_URL: string; readonly VITE_BASE_API_URL: string; + readonly VITE_TG_COMMUNITY: string; readonly VITE_TG_BOT_NAME: string; readonly VITE_TG_BOT_WEBAPP_NAME: string; // 更多环境变量... diff --git a/tsconfig.node.tsbuildinfo b/tsconfig.node.tsbuildinfo new file mode 100644 index 0000000..0a4b76b --- /dev/null +++ b/tsconfig.node.tsbuildinfo @@ -0,0 +1 @@ +{"program":{"fileNames":["./node_modules/typescript/lib/lib.d.ts","./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.dom.d.ts","./node_modules/typescript/lib/lib.webworker.importscripts.d.ts","./node_modules/typescript/lib/lib.scripthost.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.esnext.intl.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/undici-types/header.d.ts","./node_modules/undici-types/readable.d.ts","./node_modules/undici-types/file.d.ts","./node_modules/undici-types/fetch.d.ts","./node_modules/undici-types/formdata.d.ts","./node_modules/undici-types/connector.d.ts","./node_modules/undici-types/client.d.ts","./node_modules/undici-types/errors.d.ts","./node_modules/undici-types/dispatcher.d.ts","./node_modules/undici-types/global-dispatcher.d.ts","./node_modules/undici-types/global-origin.d.ts","./node_modules/undici-types/pool-stats.d.ts","./node_modules/undici-types/pool.d.ts","./node_modules/undici-types/handlers.d.ts","./node_modules/undici-types/balanced-pool.d.ts","./node_modules/undici-types/agent.d.ts","./node_modules/undici-types/mock-interceptor.d.ts","./node_modules/undici-types/mock-agent.d.ts","./node_modules/undici-types/mock-client.d.ts","./node_modules/undici-types/mock-pool.d.ts","./node_modules/undici-types/mock-errors.d.ts","./node_modules/undici-types/proxy-agent.d.ts","./node_modules/undici-types/api.d.ts","./node_modules/undici-types/cookies.d.ts","./node_modules/undici-types/patch.d.ts","./node_modules/undici-types/filereader.d.ts","./node_modules/undici-types/diagnostics-channel.d.ts","./node_modules/undici-types/websocket.d.ts","./node_modules/undici-types/content-type.d.ts","./node_modules/undici-types/cache.d.ts","./node_modules/undici-types/interceptors.d.ts","./node_modules/undici-types/index.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/dom-events.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/sea.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/globals.global.d.ts","./node_modules/@types/node/index.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/rollup/dist/rollup.d.ts","./node_modules/rollup/dist/parseast.d.ts","./node_modules/vite/types/hmrpayload.d.ts","./node_modules/vite/types/customevent.d.ts","./node_modules/vite/types/hot.d.ts","./node_modules/vite/dist/node/types.d-agj9qkwt.d.ts","./node_modules/esbuild/lib/main.d.ts","./node_modules/source-map-js/source-map.d.ts","./node_modules/postcss/lib/previous-map.d.ts","./node_modules/postcss/lib/input.d.ts","./node_modules/postcss/lib/css-syntax-error.d.ts","./node_modules/postcss/lib/declaration.d.ts","./node_modules/postcss/lib/root.d.ts","./node_modules/postcss/lib/warning.d.ts","./node_modules/postcss/lib/lazy-result.d.ts","./node_modules/postcss/lib/no-work-result.d.ts","./node_modules/postcss/lib/processor.d.ts","./node_modules/postcss/lib/result.d.ts","./node_modules/postcss/lib/document.d.ts","./node_modules/postcss/lib/rule.d.ts","./node_modules/postcss/lib/node.d.ts","./node_modules/postcss/lib/comment.d.ts","./node_modules/postcss/lib/container.d.ts","./node_modules/postcss/lib/at-rule.d.ts","./node_modules/postcss/lib/list.d.ts","./node_modules/postcss/lib/postcss.d.ts","./node_modules/postcss/lib/postcss.d.mts","./node_modules/vite/dist/node/runtime.d.ts","./node_modules/vite/types/importglob.d.ts","./node_modules/vite/types/metadata.d.ts","./node_modules/vite/dist/node/index.d.ts","./node_modules/@babel/types/lib/index.d.ts","./node_modules/@types/babel__generator/index.d.ts","./node_modules/@babel/parser/typings/babel-parser.d.ts","./node_modules/@types/babel__template/index.d.ts","./node_modules/@types/babel__traverse/index.d.ts","./node_modules/@types/babel__core/index.d.ts","./node_modules/@vitejs/plugin-react/dist/index.d.mts","./vite.config.ts","./node_modules/@types/postcss-pxtorem/index.d.ts","./node_modules/@types/prop-types/index.d.ts","./node_modules/@types/react/global.d.ts","./node_modules/csstype/index.d.ts","./node_modules/@types/react/index.d.ts","./node_modules/@types/react-dom/index.d.ts"],"fileInfos":["a7297ff837fcdf174a9524925966429eb8e5feecc2cc55cc06574e6b092c1eaa",{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"4af6b0c727b7a2896463d512fafd23634229adf69ac7c00e2ae15a09cb084fad","affectsGlobalScope":true},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true},{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"811c71eee4aa0ac5f7adf713323a5c41b0cf6c4e17367a34fbce379e12bbf0a4","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},"2db0dd3aaa2ed285950273ce96ae8a450b45423aa9da2d10e194570f1233fa6b","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1",{"version":"e7be367719c613d580d4b27fdf8fe64c9736f48217f4b322c0d63b2971460918","affectsGlobalScope":true},"3d77c73be94570813f8cadd1f05ebc3dc5e2e4fdefe4d340ca20cd018724ee36",{"version":"392eadc2af403dd10b4debfbc655c089a7fa6a9750caeb770cfb30051e55e848","affectsGlobalScope":true},"62f1c00d3d246e0e3cf0224f91e122d560428ec1ccc36bb51d4574a84f1dbad0","53f0960fdcc53d097918adfd8861ffbe0db989c56ffc16c052197bf115da5ed6",{"version":"662163e5327f260b23ca0a1a1ad8a74078aabb587c904fcb5ef518986987eaff","affectsGlobalScope":true},"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb",{"version":"c48c503c6b3f63baf18257e9a87559b5602a4e960107c762586d2a6a62b64a18","affectsGlobalScope":true},"b0c0d1d13be149f790a75b381b413490f98558649428bb916fd2d71a3f47a134","3c884d9d9ec454bdf0d5a0b8465bf8297d2caa4d853851d92cc417ac6f30b969","0364f8bb461d6e84252412d4e5590feda4eb582f77d47f7a024a7a9ff105dfdc","5433f7f77cd1fd53f45bd82445a4e437b2f6a72a32070e907530a4fea56c30c8","d0ca5d7df114035258a9d01165be309371fcccf0cccd9d57b1453204686d1ed0",{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true},{"version":"9a30b7fefd7f8abbca4828d481c61c18e40fe5ff107e113b1c1fcd2c8dcf2743","affectsGlobalScope":true},"173b6275a81ebdb283b180654890f46516c21199734fed01a773b1c168b8c45c","304f66274aa8119e8d65a49b1cff84cbf803def6afe1b2cc987386e9a9890e22","1b9adafe8a7fefaeaf9099a0e06f602903f6268438147b843a33a5233ac71745","98273274f2dbb79b0b2009b20f74eca4a7146a3447c912d580cd5d2d94a7ae30","c933f7ba4b201c98b14275fd11a14abb950178afd2074703250fe3654fc10cd2","2eaa31492906bc8525aff3c3ec2236e22d90b0dfeee77089f196cd0adf0b3e3b",{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true},"8f5814f29dbaf8bacd1764aebdf1c8a6eb86381f6a188ddbac0fcbaab855ce52","a63d03de72adfb91777784015bd3b4125abd2f5ef867fc5a13920b5649e8f52b","d20e003f3d518a7c1f749dbe27c6ab5e3be7b3c905a48361b04a9557de4a6900",{"version":"1d4d78c8b23c9ddaaaa49485e6adc2ec01086dfe5d8d4d36ca4cdc98d2f7e74a","affectsGlobalScope":true},{"version":"44fc16356b81c0463cc7d7b2b35dcf324d8144136f5bc5ce73ced86f2b3475b5","affectsGlobalScope":true},"575fb200043b11b464db8e42cc64379c5fd322b6d787638e005b5ee98a64486d","6de2f225d942562733e231a695534b30039bdf1875b377bb7255881f0df8ede8","56249fd3ef1f6b90888e606f4ea648c43978ef43a7263aafad64f8d83cd3b8aa","139ad1dc93a503da85b7a0d5f615bddbae61ad796bc68fedd049150db67a1e26","7b166975fdbd3b37afb64707b98bca88e46577bbc6c59871f9383a7df2daacd1","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","81505c54d7cad0009352eaa21bd923ab7cdee7ec3405357a54d9a5da033a2084","269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","3c1f19c7abcda6b3a4cf9438a15c7307a080bd3b51dfd56b198d9f86baf19447","2ee1645e0df9d84467cfe1d67b0ad3003c2f387de55874d565094464ee6f2927",{"version":"7da97d603bf3dd0000f56467c56cb6efaf5f94692980474925fae6c33412b12a","affectsGlobalScope":true},{"version":"9cf780e96b687e4bdfd1907ed26a688c18b89797490a00598fa8b8ab683335dd","affectsGlobalScope":true},"98e00f3613402504bc2a2c9a621800ab48e0a463d1eed062208a4ae98ad8f84c","9ae88ce9f73446c24b2d2452e993b676da1b31fca5ceb7276e7f36279f693ed1","e49d7625faff2a7842e4e7b9b197f972633fca685afcf6b4403400c97d087c36","b82c38abc53922b1b3670c3af6f333c21b735722a8f156e7d357a2da7c53a0a0",{"version":"b423f53647708043299ded4daa68d95c967a2ac30aa1437adc4442129d7d0a6c","affectsGlobalScope":true},{"version":"7245af181218216bacb01fbdf51095617a51661f20d77178c69a377e16fb69ed","affectsGlobalScope":true},"4f0fc7b7f54422bd97cfaf558ddb4bca86893839367b746a8f86b60ac7619673","4cdd8b6b51599180a387cc7c1c50f49eca5ce06595d781638fd0216520d98246","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"8704423bf338bff381ebc951ed819935d0252d90cd6de7dffe5b0a5debb65d07","affectsGlobalScope":true},"7c6929fd7cbf38499b6a600b91c3b603d1d78395046dc3499b2b92d01418b94b",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","ee7d8894904b465b072be0d2e4b45cf6b887cdba16a467645c4e200982ece7ea",{"version":"574de9322239fc2f136769dd4726fdeea6f379a44691759ffe3a941f9022e5b9","affectsGlobalScope":true},"a660aa95476042d3fdcc1343cf6bb8fdf24772d31712b1db321c5a4dcc325434","282f98006ed7fa9bb2cd9bdbe2524595cfc4bcd58a0bb3232e4519f2138df811","6222e987b58abfe92597e1273ad7233626285bc2d78409d4a7b113d81a83496b","cbe726263ae9a7bf32352380f7e8ab66ee25b3457137e316929269c19e18a2be","8b96046bf5fb0a815cba6b0880d9f97b7f3a93cf187e8dcfe8e2792e97f38f87",{"version":"bacf2c84cf448b2cd02c717ad46c3d7fd530e0c91282888c923ad64810a4d511","affectsGlobalScope":true},"858d0d831826c6eb563df02f7db71c90e26deadd0938652096bea3cc14899700","8885cf05f3e2abf117590bbb951dcf6359e3e5ac462af1c901cfd24c6a6472e2","18c04c22baee54d13b505fa6e8bcd4223f8ba32beee80ec70e6cac972d1cc9a6","e61df3640a38d535fd4bc9f4a53aef17c296b58dc4b6394fd576b808dd2fe5e6","44fe135be91bc8edc495350f79cd7a2e5a8b7a7108b10b2599a321b9248657dc","1d51250438f2071d2803053d9aec7973ef22dfffd80685a9ec5fb3fa082f4347","7ec359bbc29b69d4063fe7dad0baaf35f1856f914db16b3f4f6e3e1bca4099fa","b9261ac3e9944d3d72c5ee4cf888ad35d9743a5563405c6963c4e43ee3708ca4","c84fd54e8400def0d1ef1569cafd02e9f39a622df9fa69b57ccc82128856b916","c7a38c1ef8d6ae4bf252be67bd9a8b012b2cdea65bd6225a3d1a726c4f0d52b6","e773630f8772a06e82d97046fc92da59ada8414c61689894fff0155dd08f102c","edf7cf322a3f3e6ebca77217a96ed4480f5a7d8d0084f8b82f1c281c92780f3a","e97321edbef59b6f68839bcdfd5ae1949fe80d554d2546e35484a8d044a04444","96aed8ec4d342ec6ac69f0dcdfb064fd17b10cb13825580451c2cebbd556e965","106e607866d6c3e9a497a696ac949c3e2ec46b6e7dda35aabe76100bf740833b","28ffc4e76ad54f4b34933d78ff3f95b763accf074e8630a6d926f3fd5bbd8908","304af95fcace2300674c969700b39bc0ee05be536880daa844c64dc8f90ef482","3d65182eff7bbb16de1a69e17651c51083f740af11a1a92359be6dab939e8bcf","670ddaf1f1b881abaa1cc28236430d86b691affbeaefd66b3ee1db31fdfb8dba","77926a706478940016e826b162f95f8e4077b1ad3184b2592dc03bd8b33e0384","82e687ebd99518bc63ea04b0c3810fb6e50aa6942decd0ca6f7a56d9b9a212a6","7f698624bbbb060ece7c0e51b7236520ebada74b747d7523c7df376453ed6fea","8f07f2b6514744ac96e51d7cb8518c0f4de319471237ea10cf688b8d0e9d0225","37ad69139d085e1ba681ece8d5f426934c508f2dcef4e121f9523e9d5472770e","1894294e2f0e275a6ca2c3d0af1fb45f629531bbf446f2946dc8c881583a5935","2c8e55457aaf4902941dfdba4061935922e8ee6e120539c9801cd7b400fae050","5f02abbb1b17e3d1e68c5eea14adf4705696e6255e2982b010c0dc2a5417b606","670a76db379b27c8ff42f1ba927828a22862e2ab0b0908e38b671f0e912cc5ed","9e0cf651e8e2c5b9bebbabdff2f7c6f8cedd91b1d9afcc0a854cdff053a88f1b","069bebfee29864e3955378107e243508b163e77ab10de6a5ee03ae06939f0bb9","f5e8546cfe500116aba8a6cb7ee171774b14a6db30d4bcd6e0aa5073e919e739",{"version":"ef26c31bc211e1e28bcddd59b06f2728f084fbe0bb0152d4d20bea97a7b9cae3","signature":"4b96dd19fd2949d28ce80e913412b0026dc421e5bf6c31d87c7b5eb11b5753b4"},"c68dce38c726070f2d4f98de54aca7c676ab444fe7054a7a030460fe5e525a16","247a952efd811d780e5630f8cfd76f495196f5fa74f6f0fee39ac8ba4a3c9800",{"version":"36a2e4c9a67439aca5f91bb304611d5ae6e20d420503e96c230cf8fcdc948d94","affectsGlobalScope":true},"8a8eb4ebffd85e589a1cc7c178e291626c359543403d58c9cd22b81fab5b1fb9",{"version":"8ca4709dbd22a34bcc1ebf93e1877645bdb02ebd3f3d9a211a299a8db2ee4ba1","affectsGlobalScope":true},"adb17fea4d847e1267ae1241fa1ac3917c7e332999ebdab388a24d82d4f58240"],"root":[176],"options":{"allowSyntheticDefaultImports":true,"composite":true,"module":99,"skipLibCheck":true,"strict":true},"fileIdsList":[[169],[169,170,171,172,173],[169,171],[50],[85],[86,91,120],[87,92,98,99,106,117,128],[87,88,98,106],[89,129],[90,91,99,107],[91,117,125],[92,94,98,106],[85,93],[94,95],[98],[96,98],[85,98],[98,99,100,117,128],[98,99,100,113,117,120],[83,86,133],[94,98,101,106,117,128],[98,99,101,102,106,117,125,128],[101,103,117,125,128],[50,51,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135],[98,104],[105,128,133],[94,98,106,117],[107],[108],[85,109],[106,107,110,127,133],[111],[112],[98,113,114],[113,115,129,131],[86,98,117,118,119,120],[86,117,119],[117,118],[120],[121],[85,117],[98,123,124],[123,124],[91,106,117,125],[126],[106,127],[86,101,112,128],[91,129],[117,130],[105,131],[132],[86,91,98,100,109,117,128,131,133],[117,134],[164],[181],[178,179,180],[168,174],[160],[158,160],[149,157,158,159,161],[147],[150,155,160,163],[146,163],[150,151,154,155,156,163],[150,151,152,154,155,163],[147,148,149,150,151,155,156,157,159,160,161,163],[163],[145,147,148,149,150,151,152,154,155,156,157,158,159,160,161,162],[145,163],[150,152,153,155,156,163],[154,163],[155,156,160,163],[148,158],[138,167],[137],[145],[60,64,128],[60,117,128],[55],[57,60,125,128],[106,125],[136],[55,136],[57,60,106,128],[52,53,56,59,86,98,117,128],[52,58],[56,60,86,120,128,136],[86,136],[76,86,136],[54,55,136],[60],[54,55,56,57,58,59,60,61,62,64,65,66,67,68,69,70,71,72,73,74,75,77,78,79,80,81,82],[60,67,68],[58,60,68,69],[59],[52,55,60],[60,64,68,69],[64],[58,60,63,128],[52,57,58,60,64,67],[86,117],[55,60,76,86,133,136],[98,99,101,102,103,106,117,125,128,134,136,138,139,140,141,142,143,144,164,165,166,167],[140,141,142,143],[140,141,142],[140],[141],[138],[108,168,175]],"referencedMap":[[171,1],[174,2],[170,1],[172,3],[173,1],[50,4],[51,4],[85,5],[86,6],[87,7],[88,8],[89,9],[90,10],[91,11],[92,12],[93,13],[94,14],[95,14],[97,15],[96,16],[98,17],[99,18],[100,19],[84,20],[101,21],[102,22],[103,23],[136,24],[104,25],[105,26],[106,27],[107,28],[108,29],[109,30],[110,31],[111,32],[112,33],[113,34],[114,34],[115,35],[117,36],[119,37],[118,38],[120,39],[121,40],[122,41],[123,42],[124,43],[125,44],[126,45],[127,46],[128,47],[129,48],[130,49],[131,50],[132,51],[133,52],[134,53],[177,54],[182,55],[181,56],[175,57],[161,58],[159,59],[160,60],[148,61],[149,59],[156,62],[147,63],[152,64],[153,65],[158,66],[164,67],[163,68],[146,69],[154,70],[155,71],[150,72],[157,58],[151,73],[139,74],[138,75],[145,76],[67,77],[74,78],[66,77],[81,79],[58,80],[57,81],[80,82],[75,83],[78,84],[60,85],[59,86],[55,87],[54,88],[77,89],[56,90],[61,91],[65,91],[83,92],[82,91],[69,93],[70,94],[72,95],[68,96],[71,97],[76,82],[63,98],[64,99],[73,100],[53,101],[79,102],[168,103],[165,104],[143,105],[141,106],[142,107],[167,108],[176,109]],"latestChangedDtsFile":"./vite.config.d.ts"},"version":"5.5.3"} \ No newline at end of file diff --git a/vite.config.d.ts b/vite.config.d.ts new file mode 100644 index 0000000..340562a --- /dev/null +++ b/vite.config.d.ts @@ -0,0 +1,2 @@ +declare const _default: import("vite").UserConfig; +export default _default; diff --git a/vite.config.js b/vite.config.js new file mode 100644 index 0000000..efd81fd --- /dev/null +++ b/vite.config.js @@ -0,0 +1,29 @@ +/* + * @LastEditors: John + * @Date: 2024-07-13 10:21:58 + * @LastEditTime: 2024-07-15 11:02:27 + * @Author: John + */ +import { defineConfig } from "vite"; +import react from "@vitejs/plugin-react"; +import path from "path"; +// https://vitejs.dev/config/ +export default defineConfig({ + server: { + host: "192.168.10.167", + proxy: { + "/dev": { + target: "http://192.168.10.100:8096", + changeOrigin: true, + rewrite: function (path) { return path.replace(/^\/dev/, ""); }, + }, + }, + }, + plugins: [react()], + resolve: { + alias: { + "@": path.resolve(__dirname, "./src"), + }, + }, + css: {}, +});