tiptap/packages/pm/tsup.config.ts
bdbch 1e91f9b0dc
Fix broken prosemirror-module build missing history package (#6221)
* refactor: update import from 'undo-redo' to 'history' in tsup.config.ts

* fix: add changeset for prosemirror history build patch
2025-03-31 17:15:32 +02:00

31 lines
666 B
TypeScript

import { defineConfig } from 'tsup'
export default defineConfig({
entry: [
'changeset/index.ts',
'collab/index.ts',
'commands/index.ts',
'dropcursor/index.ts',
'gapcursor/index.ts',
'history/index.ts',
'inputrules/index.ts',
'keymap/index.ts',
'markdown/index.ts',
'menu/index.ts',
'model/index.ts',
'schema-basic/index.ts',
'schema-list/index.ts',
'state/index.ts',
'tables/index.ts',
'trailing-node/index.ts',
'transform/index.ts',
'view/index.ts',
],
tsconfig: '../../tsconfig.build.json',
outDir: 'dist',
dts: true,
splitting: true,
clean: true,
format: ['esm', 'cjs'],
})