mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-22 08:25:21 +08:00
style(web): format revision preview fixtures
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
624d8efd97
commit
30357c6fa2
@@ -1 +1,9 @@
|
||||
<html><head><meta charset="utf-8" /></head><body><div id="root"></div><script type="module" src="./preview.tsx"></script></body></html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="./preview.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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 },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user