mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
Just trying this out as a small hack for fun. Nothing serious is planned. Inits an MCP server that has 1 assistant prompt and two capabilities.
31 lines
601 B
TypeScript
31 lines
601 B
TypeScript
import {defineConfig} from 'tsup';
|
|
|
|
export default defineConfig({
|
|
entry: ['./src/index.ts'],
|
|
outDir: './dist',
|
|
external: [],
|
|
splitting: false,
|
|
sourcemap: false,
|
|
dts: false,
|
|
bundle: true,
|
|
format: 'cjs',
|
|
platform: 'node',
|
|
target: 'es2022',
|
|
banner: {
|
|
js: `#!/usr/bin/env node
|
|
|
|
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @lightSyntaxTransform
|
|
* @noflow
|
|
* @nolint
|
|
* @preventMunge
|
|
* @preserve-invariant-messages
|
|
*/`,
|
|
},
|
|
});
|