Files
aptabase-js/packages/browser/tsup.config.ts
Lectom C Han 421105f082
Some checks failed
Release / Release (push) Failing after 1m44s
first commit
2025-07-07 18:53:25 +09:00

16 lines
295 B
TypeScript

import { defineConfig } from 'tsup';
const { version } = require('./package.json');
export default defineConfig({
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
dts: true,
splitting: false,
minify: true,
sourcemap: true,
clean: true,
env: {
PKG_VERSION: version,
},
});