34 lines
845 B
JSON
34 lines
845 B
JSON
|
{
|
||
|
"name": "@budibase/worker",
|
||
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
||
|
"targets": {
|
||
|
"build": {
|
||
|
"executor": "@nx/esbuild:esbuild",
|
||
|
"outputs": ["{options.outputPath}"],
|
||
|
"defaultConfiguration": "production",
|
||
|
"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"]
|
||
|
},
|
||
|
"configurations": {
|
||
|
"development": {
|
||
|
"minify": false
|
||
|
},
|
||
|
"production": {
|
||
|
"minify": true
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|