Getting two different errors so far I know when enabling "bundle: true" , and without that would be fine
Class constructor BaseEntity cannot be invoked without 'new'",
Entity metadata for BaseEntity#Metric was not found. Check if you specified a correct entity object and if it's connected in the connection options.",
"options": {
"platform": "node",
"outputPath": "dist/apps/api",
"format": ["cjs"],
"bundle": true,
"sourcemap": true,
"main": "apps/api/src/main.ts",
"tsConfig": "apps/api/tsconfig.app.json",
"esbuildConfig": "apps/api/esbuild.config.js",
"assets": ["apps/api/src/assets", "apps/api/src/views/**"]
},
Getting two different errors so far I know when enabling "bundle: true" , and without that would be fine