mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-19 10:22:07 +08:00
Adds a proxy page scenario to the measurement adapter: a core-module shim serves synthetic proxy/clash/run-state data at the invoke seam (active only for the proxy scenario; other scenarios stay byte-identical), and a sawtooth scroll driver keeps the virtualizer measuring and the throttled scroll-position save running. Running the scene additionally requires the harness-side scenario contract and schema v10 from the clash-verge-rev-harness repository.
17 lines
395 B
TypeScript
17 lines
395 B
TypeScript
import { defineConfig, mergeConfig } from 'vite'
|
|
|
|
import base from '../../vite.config.mts'
|
|
export default mergeConfig(
|
|
base,
|
|
defineConfig({
|
|
root: 'scripts/perf',
|
|
build: { outDir: '../../target/perf/dist', target: 'safari16' },
|
|
resolve: {
|
|
alias: {
|
|
'@tauri-apps/api/core': new URL('./tauri-core-shim.ts', import.meta.url)
|
|
.pathname,
|
|
},
|
|
},
|
|
}),
|
|
)
|