UNPKG

plugin-coti

Version:

COTI blockchain plugin for ElizaOS - enables private token operations and encrypted transactions

21 lines (19 loc) 591 B
import { defineConfig } from 'tsup'; export default defineConfig({ entry: ['src/index.ts'], outDir: 'dist', tsconfig: './tsconfig.build.json', // Use build-specific tsconfig sourcemap: true, clean: false, format: ['esm'], // Ensure you're targeting CommonJS dts: true, // require DTS so we get d.ts in the dist folder on npm external: [ 'dotenv', // Externalize dotenv to prevent bundling 'fs', // Externalize fs to use Node.js built-in module 'path', // Externalize other built-ins if necessary 'https', 'http', '@elizaos/core', 'zod', ], });