egoist / egoist/tsup

Private field bug

Open
#576 1 comment 0 reactions 0 assignees View on GitHub
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
};
});

```

![image](https://user-images.githubusercontent.com/7302317/155299747-d1efe386-68e5-49ce-83c3-353810e62051.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.