budibase/packages/worker/project.json

42 lines
1.0 KiB
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 12:31:49 +02:00
"generatePackageJson": true,
"skipTypeCheck": true
},
"configurations": {
"production": {
2023-05-22 12:33:10 +02:00
"skipTypeCheck": false,
"esbuildOptions": {
"sourcemap": false
}
2023-05-22 12:31:49 +02:00
}
2023-05-19 14:45:05 +02:00
}
}
}
}