chore: lint format
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import { cloudflare } from '@cloudflare/vite-plugin';
|
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 {
|
export function loadPlugin(_configEnv: ConfigEnv): PluginOption {
|
||||||
const env = loadEnv(_configEnv.mode, process.cwd());
|
const env = loadEnv(_configEnv.mode, process.cwd());
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import type { ManualChunkMeta, PreRenderedAsset, RollupOptions } from 'rollup';
|
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
|
// https://www.npmjs.com/package/utils4u/v/2.19.2?activeTab=code
|
||||||
|
|
||||||
|
|||||||
5
worker-configuration.d.ts
vendored
5
worker-configuration.d.ts
vendored
@@ -1,5 +1,5 @@
|
|||||||
/* eslint-disable */
|
/* 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
|
// Runtime types generated with workerd@1.20251008.0 2025-09-09
|
||||||
declare namespace Cloudflare {
|
declare namespace Cloudflare {
|
||||||
interface GlobalProps {
|
interface GlobalProps {
|
||||||
@@ -10,10 +10,13 @@ declare namespace Cloudflare {
|
|||||||
VITE_APP_TITLE: string;
|
VITE_APP_TITLE: string;
|
||||||
VITE_APP_BASE: string;
|
VITE_APP_BASE: string;
|
||||||
VITE_APP_BUILD_SOURCE_MAP: string;
|
VITE_APP_BUILD_SOURCE_MAP: string;
|
||||||
|
VITE_APP_BUILD_MINIFY: string;
|
||||||
VITE_APP_BUILD_COMMIT: string;
|
VITE_APP_BUILD_COMMIT: string;
|
||||||
VITE_APP_BUILD_TIME: string;
|
VITE_APP_BUILD_TIME: string;
|
||||||
VITE_ENABLE_VUE_DEVTOOLS: string;
|
VITE_ENABLE_VUE_DEVTOOLS: string;
|
||||||
VITE_MENU_SHOW_DEMOS: string;
|
VITE_MENU_SHOW_DEMOS: string;
|
||||||
|
VITE_MENU_SHOW_ORDER: string;
|
||||||
|
VITE_CLOUDFLARE_SERVER_ENABLED: string;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
interface Env extends Cloudflare.Env {}
|
interface Env extends Cloudflare.Env {}
|
||||||
|
|||||||
Reference in New Issue
Block a user