feat: create MCP server for different session (#74)

This commit is contained in:
samanhappy
2025-05-12 15:11:37 +08:00
committed by GitHub
parent 5d798cfe6a
commit f1a5f692cc
5 changed files with 103 additions and 90 deletions

View File

@@ -6,9 +6,7 @@ import tailwindcss from '@tailwindcss/vite';
import { readFileSync } from 'fs';
// Get package.json version
const packageJson = JSON.parse(
readFileSync(path.resolve(__dirname, '../package.json'), 'utf-8')
);
const packageJson = JSON.parse(readFileSync(path.resolve(__dirname, '../package.json'), 'utf-8'));
// https://vitejs.dev/config/
export default defineConfig({
@@ -22,6 +20,9 @@ export default defineConfig({
// Make package version available as global variable
'import.meta.env.PACKAGE_VERSION': JSON.stringify(packageJson.version),
},
build: {
sourcemap: true, // Enable source maps for production build
},
server: {
proxy: {
'/api': {