harsta
Version:
Harsta is a contract development tool based on Hardhat, designed to streamline the development, testing, and referencing of contracts, addresses, ABIs, and contract instances.
25 lines (23 loc) • 488 B
text/typescript
import { defineConfig } from 'tsup'
import pkg from '../package.json'
export default defineConfig(() => {
return {
entry: [
'./',
'!mod-react.d.ts',
'!tsup.config.ts',
'!mod-wagmi.d.ts',
'!tsconfig.json',
],
dts: false,
format: ['cjs', 'esm'],
splitting: true,
minify: false,
external: [
/react/,
'wagmi',
...Object.keys(pkg.devDependencies || {}),
...Object.keys(pkg.dependencies || {}),
],
}
})