tiptap/packages/extension-code/tsup.config.ts
Nick Perez a92f4a6663
build: use tsup for compilation (#5455)
* build: use tsup for compilation

* chore: rm turbo file
2024-08-07 11:59:44 +02:00

15 lines
242 B
TypeScript

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',
],
})