tsup.config.ts 309 Bytes
Newer Older
Wyatt Barnes's avatar
Wyatt Barnes committed
1 2 3 4 5 6 7 8 9 10 11 12
import { defineConfig } from 'tsup'
import packageJson from './package.json'

// @see https://tsup.egoist.dev/
export default defineConfig({
  name: packageJson.name,
  entry: ['src/plugin.ts'],
  outDir: 'dist',
  format: ['esm', 'cjs'],
  splitting: false,
  sourcemap: true,
  clean: false,
13
  dts: true
Wyatt Barnes's avatar
Wyatt Barnes committed
14
})