Replies: 4 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
|
esbuild does support decorators, but only for tsx. There are some discussion at #2349 and evanw/esbuild#1392. Maybe you can try: export default defineConfig({
esbuild: {
loader: 'tsx'
}
})But I'm not sure if that works 100%, or perhaps you can use Otherwise you might want to look into vite/rollup plugins to do so. |
Beta Was this translation helpful? Give feedback.
-
|
I/we depend on tsc's ability to inline const enums, which is why I/we can't use esbuild |
Beta Was this translation helpful? Give feedback.
-
|
Parcel makes it so easy to fallback to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
I want to use this tsconfig.json
but esbuild no support
emitDecoratorMetadata, so I want to usetscreplaceesbuildReproduction
no
System Info
Used Package Manager
pnpm
Logs
No response
Validations
Beta Was this translation helpful? Give feedback.
All reactions