Private field bug
Open
- Dominant language
- TypeScript
- Stars
- 11.3k
- Forks
- 275
- PR merge metrics
- No merged PRs in 30d
Description
Hello, I switched from babel to tsup today for my library and got this, I use private fields and here my tsup config:
```ts
import { defineConfig } from "tsup";
export default defineConfig(options => {
return {
minify: !options.watch,
entry: ["src/index.ts"],
splitting: true,
sourcemap: true,
clean: true,
dts: true,
format: ["cjs", "esm"],
platform: "browser",
target: "es2018",
bundle: true
};
});
```

Contributor guide
Assessment
This issue has not been assessed yet.