UNPKG

plugin-hedera-dex

Version:

Comprehensive Hedera DEX plugin for SaucerSwap integration with ElizaOS. Provides real-time pool data, token swapping, and complete DEX functionality on Hedera blockchain.

25 lines (23 loc) 700 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 bundle: false, // Disable bundling to avoid Rollup issues 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', 'ethers', '@hashgraph/sdk', 'axios', ], });