mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-10-23 08:55:44 +08:00
15 lines
446 B
JavaScript
15 lines
446 B
JavaScript
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 },
|
|
};
|