From 30357c6fa2162f34090ba1e6c66801498659662c Mon Sep 17 00:00:00 2001 From: RockChinQ Date: Sat, 17 Oct 2026 01:54:18 +0800 Subject: [PATCH] style(web): format revision preview fixtures Co-Authored-By: Claude Opus 5.5 --- web/tests/revisions/index.html | 10 +++++++++- web/tests/revisions/vite.config.mjs | 15 ++++++++++++--- 2 files changed, 21 insertions(+), 4 deletions(-) diff --git a/web/tests/revisions/index.html b/web/tests/revisions/index.html index ea3013314..90e9c1c0b 100644 --- a/web/tests/revisions/index.html +++ b/web/tests/revisions/index.html @@ -1 +1,9 @@ -
+ + + + + +
+ + + diff --git a/web/tests/revisions/vite.config.mjs b/web/tests/revisions/vite.config.mjs index 390cf2604..5021b7626 100644 --- a/web/tests/revisions/vite.config.mjs +++ b/web/tests/revisions/vite.config.mjs @@ -1,5 +1,14 @@ import path from 'node:path'; import tailwind from '@tailwindcss/postcss'; -import {fileURLToPath} from 'node:url'; -const root=path.resolve(path.dirname(fileURLToPath(import.meta.url)),'../..'); -export default {root,resolve:{alias:{'@':path.join(root,'src')}},esbuild:{jsx:'automatic'},css:{postcss:{plugins:[tailwind({base:root})]}},server:{host:'127.0.0.1',port:4186,strictPort:true}}; +import { fileURLToPath } from 'node:url'; +const root = path.resolve( + path.dirname(fileURLToPath(import.meta.url)), + '../..', +); +export default { + root, + resolve: { alias: { '@': path.join(root, 'src') } }, + esbuild: { jsx: 'automatic' }, + css: { postcss: { plugins: [tailwind({ base: root })] } }, + server: { host: '127.0.0.1', port: 4186, strictPort: true }, +};