Skip to main content
Glama
by yun8711
tsup.config.ts607 B
import { defineConfig } from 'tsup' export default defineConfig({ entry: [ './src/index.ts', './src/stdio.ts', './src/tools/**/*.ts', './src/metadata/**/*.ts', ], external:['./src/types/', './src/examples/'], format: ['esm'], clean: true, splitting: true, // 启用代码分割 treeshake: true, // 启用 tree shaking target: 'es2022', minify: true, platform: 'node', // 保留目录结构的关键配置 bundle: false, // 不打包成单个文件,保持模块化 esbuildOptions(options) { options.charset = 'utf8' // 添加这行来保留中文字符 } })

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yun8711/element-ui-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server