2022-03-30 13:18:59 +00:00
|
|
|
{
|
2023-07-04 11:01:25 +00:00
|
|
|
"name": "static",
|
2022-08-31 04:35:46 +00:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
2022-03-30 13:18:59 +00:00
|
|
|
"projectType": "application",
|
|
|
|
"sourceRoot": "apps/static/src",
|
|
|
|
"tags": [],
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/webpack:webpack",
|
2022-03-30 13:18:59 +00:00
|
|
|
"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": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/webpack:dev-server",
|
2022-03-30 13:18:59 +00:00
|
|
|
"options": {
|
|
|
|
"buildTarget": "static:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"buildTarget": "static:build:production"
|
|
|
|
}
|
|
|
|
}
|
2022-04-06 10:36:36 +00:00
|
|
|
},
|
|
|
|
"build-netlify": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "nx:run-commands",
|
2022-04-06 10:36:36 +00:00
|
|
|
"options": {
|
|
|
|
"commands": [
|
|
|
|
"cp apps/static/netlify.toml netlify.toml",
|
|
|
|
"nx build static"
|
|
|
|
]
|
|
|
|
}
|
2022-03-30 13:18:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|