import { defineConfig } from 'tsup'
export default defineConfig([
{
entry: ['src/index.ts'],
format: ['cjs', 'esm'],
clean: true,
},
{
entry: ['src/index.ssr.ts'],
format: ['esm'],
clean: true,
},
])
When I save either entry point, the output file for the other build is erroneously deleted.
I tried enabling clean: true
for the first build only, but it didn't help.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too