{ "name": "@budibase/worker", "$schema": "../../node_modules/nx/schemas/project-schema.json", "targets": { "build": { "executor": "@nx/esbuild:esbuild", "outputs": ["{options.outputPath}"], "options": { "main": "packages/worker/src/index.ts", "outputPath": "packages/worker/dist", "outputFileName": "index.js", "tsConfig": "packages/worker/tsconfig.build.json", "assets": [ { "glob": "**/*.hbs", "input": "packages/worker/src/constants/templates", "output": "." } ], "format": ["cjs"], "esbuildOptions": { "outExtension": { ".js": ".js" }, "sourcemap": true }, "minify": true, "generatePackageJson": true } } } }