vega-frontend-monorepo/apps/static/project.json
2023-07-04 13:01:25 +02:00

61 lines
1.5 KiB
JSON

{
"name": "static",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"projectType": "application",
"sourceRoot": "apps/static/src",
"tags": [],
"targets": {
"build": {
"executor": "@nx/webpack: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": "@nx/webpack:dev-server",
"options": {
"buildTarget": "static:build"
},
"configurations": {
"production": {
"buildTarget": "static:build:production"
}
}
},
"build-netlify": {
"executor": "nx:run-commands",
"options": {
"commands": [
"cp apps/static/netlify.toml netlify.toml",
"nx build static"
]
}
}
}
}