UNPKG

@zerochain/sdk

Version:

The Züs JS SDK is a JavaScript client library that provides a convenient interface for interacting with the Züs Network. It allows developers to perform various operations such as creating and managing allocations, uploading and downloading files, executi

19 lines (17 loc) 407 B
import { defineConfig } from 'tsup' export default defineConfig(options => { const isDev = process.env.NODE_ENV === 'development' console.debug('isDev', isDev) return { entry: { index: 'src/index.ts', react: 'src/export/react.ts', }, format: ['cjs', 'esm'], // Output formats dts: true, minify: !isDev, sourcemap: isDev, watch: isDev, clean: isDev, } })