mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
a92f4a6663
* build: use tsup for compilation * chore: rm turbo file
15 lines
242 B
TypeScript
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',
|
|
],
|
|
})
|