Open woody146 opened 1 year ago
Is there any preview when this bug will be fixed? I'm trying to migrate an existing app to Remix and reflect-metadata is going to be necessary
This is a limitation of esbuild
. See https://github.com/evanw/esbuild/issues/399
seems that esbuild
supports metadata https://github.com/airplanedev/lib/pull/534
What version of Remix are you using?
1.14.3
Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
Import "reflect-metadata" at first line of root.tsx
Expected Behavior
I want to remix create the code of reflect-metadata first in the code
Actual Behavior
But I check the root.js file in public/build/, the result is as follows
reflect-metadata's code was added later so my code got error
reflect.getmetadata is not a function