tiptap/packages/extension-code/tsup.config.ts

15 lines
242 B
TypeScript
Raw Normal View History

import { defineConfig } from 'tsup'
export default defineConfig({
entry: ['src/index.ts'],
tsconfig: '../../tsconfig.build.json',
outDir: 'dist',
dts: true,
clean: true,
sourcemap: true,
format: [
'esm',
'cjs',
],
})