Can we disable tree-shaking?
I tried with treeshake: false
and with the cli command --no-treeshake
but both seems to tree-shake anyway
export default defineConfig((_) => {
return {
entry: 'src/index.ts',
format: 'esm',
outDir: 'build',
minify: true,
treeshake: false,
platform: 'node',
}
})
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