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