mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-06-07 09:25:29 +08:00
15 lines
299 B
TypeScript
15 lines
299 B
TypeScript
import { defineConfig } from 'tsup'
|
|
|
|
export default defineConfig({
|
|
entry: ['src/index.ts'],
|
|
// purposefully not using the build tsconfig, so @tiptap/core's types can be resolved correctly
|
|
outDir: 'dist',
|
|
dts: true,
|
|
clean: true,
|
|
sourcemap: true,
|
|
format: [
|
|
'esm',
|
|
'cjs',
|
|
],
|
|
})
|