mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-24 11:45:26 +03:00
9bde10a537
* fix(*): migrate rollup to tsup, support esm correctly, remove *.spec.* for dist * chore: update * postbuild * Update .scripts/postbuild.sh * Update package.json Co-authored-by: Jonghyeon Ko <jonghyeon@toss.im> --------- Co-authored-by: raon0211 <raon0211@toss.im>
10 lines
210 B
TypeScript
10 lines
210 B
TypeScript
import { defineConfig } from 'tsup'
|
|
|
|
export default defineConfig({
|
|
format: ['cjs', 'esm'],
|
|
entry: ['src/*.ts', 'src/*/*.ts', '!**/*.{spec,test,test-d}.*'],
|
|
sourcemap: true,
|
|
dts: true,
|
|
clean: true,
|
|
})
|