2023-05-20 00:45:05 +12:00
|
|
|
{
|
|
|
|
"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": "."
|
|
|
|
}
|
|
|
|
],
|
2023-05-22 21:32:44 +12:00
|
|
|
"format": ["cjs"],
|
|
|
|
"esbuildOptions": {
|
|
|
|
"outExtension": {
|
|
|
|
".js": ".js"
|
2023-05-22 22:06:52 +12:00
|
|
|
},
|
|
|
|
"sourcemap": true
|
2023-05-22 21:56:41 +12:00
|
|
|
},
|
2023-05-22 22:06:52 +12:00
|
|
|
"minify": true,
|
2023-05-22 22:31:49 +12:00
|
|
|
"generatePackageJson": true,
|
|
|
|
"skipTypeCheck": true
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"skipTypeCheck": false
|
|
|
|
}
|
2023-05-20 00:45:05 +12:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|