tiptap/packages/pm/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

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