13 lines
222 B
JavaScript
13 lines
222 B
JavaScript
|
import { defineConfig } from 'tsup'
|
||
|
|
||
|
export default defineConfig({
|
||
|
entry: ['src/index.tsx'],
|
||
|
sourcemap: true,
|
||
|
clean: true,
|
||
|
platform: 'browser',
|
||
|
target: 'esnext',
|
||
|
format: ['esm'],
|
||
|
minify: true,
|
||
|
dts: true
|
||
|
})
|