GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — knittingEditor/vite.shared.ts at main · K0mork/knittingEditor Expand file tree/ Copy pathvite.shared.tsMore file actions 27 lines (26 loc) · 916 Bytes / Copy pathvite.shared.tsFile metadata and controls27 lines (26 loc) · 916 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 import react from '@vitejs/plugin-react'; import type { ViteUserConfig } from 'vitest/config'; import { thirdPartyNotices } from './scripts/third-party-notices.mjs'; /** * Web版とiOS版で共通のVite設定。両ビルドの差分(`modulePreload`、ソースマップ、workspaceの参照許可、 * テスト対象、Web版の`__APP_BUILD__`、CSPとpublic配下の索引ページを生成するプラグイン)は * 各`vite.config.ts`で足す。プラグインは呼び出しごとに作り直す。 */ export function sharedViteConfig(): ViteUserConfig { const notices = thirdPartyNotices(); return { base: '/', plugins: [react(), notices.plugin], worker: { plugins: () => [notices.workerPlugin()], }, build: { target: ['es2022', 'safari16.4'], sourcemap: true, chunkSizeWarningLimit: 900, }, test: { environment: 'jsdom', }, }; } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |