mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-24 11:49:02 +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',
|
|
],
|
|
})
|