budibase/packages/worker/project.json

33 lines
839 B
JSON
Raw Normal View History

2023-05-19 14:45:05 +02: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 11:32:44 +02:00
"format": ["cjs"],
"esbuildOptions": {
"outExtension": {
".js": ".js"
2023-05-22 12:06:52 +02:00
},
"sourcemap": true
2023-05-22 11:56:41 +02:00
},
2023-05-22 12:06:52 +02:00
"minify": true,
2023-05-22 11:56:41 +02:00
"generatePackageJson": true
2023-05-19 14:45:05 +02:00
}
}
}
}