mirror of
https://github.com/storytold/storyteller-bevy.git
synced 2026-10-09 00:09:55 +00:00
72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"name": "studio-frontend",
|
|
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
"projectType": "application",
|
|
"sourceRoot": "studio-frontend/src",
|
|
"tags": [],
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nx/vite:build",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"outputPath": "dist/studio-frontend"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"mode": "development"
|
|
},
|
|
"production": {
|
|
"mode": "production"
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nx/vite:dev-server",
|
|
"defaultConfiguration": "development",
|
|
"dependsOn": [
|
|
{
|
|
"projects": ["studio"],
|
|
"target": "build:web"
|
|
}
|
|
],
|
|
"options": {
|
|
"buildTarget": "studio-frontend:build"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "studio-frontend:build:development",
|
|
"hmr": true
|
|
},
|
|
"production": {
|
|
"buildTarget": "studio-frontend:build:production",
|
|
"hmr": false
|
|
}
|
|
}
|
|
},
|
|
"preview": {
|
|
"executor": "@nx/vite:preview-server",
|
|
"defaultConfiguration": "production",
|
|
"dependsOn": [
|
|
{
|
|
"projects": ["studio"],
|
|
"target": "build:web"
|
|
}
|
|
],
|
|
"options": {
|
|
"buildTarget": "studio-frontend:build"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "studio-frontend:build:development"
|
|
},
|
|
"production": {
|
|
"buildTarget": "studio-frontend:build:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|