diff --git a/vite-plugins/100.cloudflare.ts b/vite-plugins/100.cloudflare.ts index f78c93f..6d56eb8 100644 --- a/vite-plugins/100.cloudflare.ts +++ b/vite-plugins/100.cloudflare.ts @@ -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()); diff --git a/vite.config.rollup.ts b/vite.config.rollup.ts index de31b8b..ef9ff52 100644 --- a/vite.config.rollup.ts +++ b/vite.config.rollup.ts @@ -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 diff --git a/worker-configuration.d.ts b/worker-configuration.d.ts index ab07967..61be113 100644 --- a/worker-configuration.d.ts +++ b/worker-configuration.d.ts @@ -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 {}