Closed
Description
For projects such as TypeORM, it is necessary for decorator metadata to get emitted. For example, let's take TypeORM's typescript-example
project. Running the project normally yields the following output.
git clone https://github.com/typeorm/typescript-example --depth 1
cd typescript-example
yarn && yarn start
Attempting to use ESBuild successfully compiles it with warnings, but fails with a runtime error.
esbuild --bundle --outfile=index.js --target=esnext --platform=node --format=cjs --strict .\src\index.ts
Metadata
Metadata
Assignees
Labels
No labels