1
0
Fork 0
mirror of synced 2024-08-15 01:51:33 +12:00
budibase/packages/worker/project.json

42 lines
1 KiB
JSON
Raw Normal View History

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": {
2023-05-22 22:33:10 +12:00
"skipTypeCheck": false,
"esbuildOptions": {
"sourcemap": false
}
2023-05-22 22:31:49 +12:00
}
2023-05-20 00:45:05 +12:00
}
}
}
}