vega-frontend-monorepo/apps/static/project.json
botond a6a21bed46
Feat/427: Serve explicit environments (#433)
* feat: add env specific serve commands where appropriate for apps

* fix: typo in command call

* feat: add custom executor for serving apps

* chore: clean up project files and use the custom executor

* chore: patch readmes

* chore: split out logs into their own function

* fix: prevent overriding env when no flag passed in

* fix: add tsc to postinstall to take care of compiling the custom executors

* fix: remove the custom serve executor from trading
2022-05-23 10:56:11 +01:00

61 lines
1.5 KiB
JSON

{
"projectType": "application",
"root": "apps/static",
"sourceRoot": "apps/static/src",
"tags": [],
"targets": {
"build": {
"executor": "@nrwl/web:webpack",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/static",
"compiler": "babel",
"index": "apps/static/src/index.html",
"generateIndexHtml": false,
"baseHref": "/",
"main": "apps/static/src/main.ts",
"tsConfig": "apps/static/tsconfig.app.json",
"assets": ["apps/static/src/favicon.ico", "apps/static/src/assets"],
"styles": [
{
"input": "apps/static/src/fonts.scss",
"bundleName": "fonts"
}
],
"scripts": []
},
"configurations": {
"production": {
"optimization": false,
"outputHashing": "none",
"sourceMap": false,
"namedChunks": false,
"vendorChunk": false
}
}
},
"serve": {
"executor": "./tools/executors/serve:serve",
"options": {
"buildTarget": "static:build"
},
"configurations": {
"production": {
"buildTarget": "static:build:production"
}
}
},
"build-netlify": {
"builder": "@nrwl/workspace:run-commands",
"options": {
"commands": [
"cp apps/static/netlify.toml netlify.toml",
"nx build static"
]
}
}
}
}