9
packages/react/tsup.config.js
Normal file
9
packages/react/tsup.config.js
Normal file
@ -0,0 +1,9 @@
|
||||
import { defineConfig } from 'tsup'
|
||||
|
||||
export default defineConfig((options) => ({
|
||||
entry: ['src/index.ts'],
|
||||
sourcemap: options.watch,
|
||||
minify: !options.watch,
|
||||
dts: true,
|
||||
format: ['esm'],
|
||||
}))
|
Reference in New Issue
Block a user