UNPKG

@vulog/aima-client

Version:

```bash npm i @vulog/aima-client ```

15 lines (12 loc) 349 B
import { defineConfig } from 'tsup'; import { readFileSync } from 'fs'; const packageJson = JSON.parse(readFileSync('./package.json', 'utf-8')); export default defineConfig({ entry: ['src/index.ts'], clean: true, format: ['cjs', 'esm'], dts: true, define: { __VERSION__: JSON.stringify(packageJson.version), }, });