We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
const enum
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src/demo.ts
const enum Prop { Display = 1, Isolation, Position, } console.log(Prop.Display)
tsdown@^0.9.8
tsdown.config.ts
import { defineConfig } from 'tsdown' export default defineConfig({ entry: ['./src/demo.ts'], outDir: 'dist', format: 'esm', target: 'node16', clean: true, dts: true, minify: true, noExternal: ['es-toolkit'], })
see the GIF
System: OS: macOS 15.4.1 CPU: (10) arm64 Apple M2 Pro Memory: 99.69 MB / 16.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.14.0 - ~/.local/state/fnm_multishells/86831_1745648882839/bin/node Yarn: 1.22.22 - ~/Library/pnpm/yarn npm: 10.9.2 - ~/.local/state/fnm_multishells/86831_1745648882839/bin/npm pnpm: 10.8.0 - ~/Library/pnpm/pnpm bun: 1.2.10 - /opt/homebrew/bin/bun Browsers: Brave Browser: 133.1.75.180 Chrome: 135.0.7049.115 Edge: 135.0.3179.98 Safari: 18.4
pnpm
The text was updated successfully, but these errors were encountered:
Upstream: rolldown/rolldown#4342 oxc-project/oxc#6073
Sorry, something went wrong.
No branches or pull requests
Describe the bug
src/demo.ts
tsdown@^0.9.8
tsdown.config.ts
Reproduction
see the GIF
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: