Can't disable tree-shaking
Open
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
Can we disable tree-shaking?
I tried with `treeshake: false` and with the cli command `--no-treeshake` but both seems to tree-shake anyway
```javascript
export default defineConfig((_) => {
return {
entry: 'src/index.ts',
format: 'esm',
outDir: 'build',
minify: true,
treeshake: false,
platform: 'node',
}
})
```
Contributor guide
Assessment
This issue has not been assessed yet.