chore: lint format
Some checks failed
CI/CD Pipeline / playwright (push) Failing after 8m18s
CI/CD Pipeline / build-and-deploy (push) Has been skipped
测试最新依赖 / build-and-test (push) Failing after 1m44s
测试最新依赖 / playwright (push) Failing after 6m28s

This commit is contained in:
严浩
2025-10-27 02:31:48 +08:00
parent 7830ad0ebb
commit 047632b75f
3 changed files with 7 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
import { cloudflare } from '@cloudflare/vite-plugin';
import { loadEnv, type ConfigEnv, type PluginOption } from 'vite';
import { loadEnv } from 'vite';
import type {ConfigEnv, PluginOption} from 'vite';
export function loadPlugin(_configEnv: ConfigEnv): PluginOption {
const env = loadEnv(_configEnv.mode, process.cwd());

View File

@@ -1,6 +1,6 @@
import type { ManualChunkMeta, PreRenderedAsset, RollupOptions } from 'rollup';
import path from 'node:path';
// import path from 'node:path';
// https://www.npmjs.com/package/utils4u/v/2.19.2?activeTab=code

View File

@@ -1,5 +1,5 @@
/* eslint-disable */
// Generated by Wrangler by running `wrangler types` (hash: b487ccbfcb48074f7cafff7488cb3acb)
// Generated by Wrangler by running `wrangler types` (hash: 84692d03acd392dfe81b48b26e3d156f)
// Runtime types generated with workerd@1.20251008.0 2025-09-09
declare namespace Cloudflare {
interface GlobalProps {
@@ -10,10 +10,13 @@ declare namespace Cloudflare {
VITE_APP_TITLE: string;
VITE_APP_BASE: string;
VITE_APP_BUILD_SOURCE_MAP: string;
VITE_APP_BUILD_MINIFY: string;
VITE_APP_BUILD_COMMIT: string;
VITE_APP_BUILD_TIME: string;
VITE_ENABLE_VUE_DEVTOOLS: string;
VITE_MENU_SHOW_DEMOS: string;
VITE_MENU_SHOW_ORDER: string;
VITE_CLOUDFLARE_SERVER_ENABLED: string;
}
}
interface Env extends Cloudflare.Env {}