Files
77c45462f9 Ensure custom relative distDir resolves properly (#80569)
This ensures we properly load our manifest inside the handler interface
when a custom relative `distDir` is being used which is the case with NX
specifically.

---------

Co-authored-by: Jiachi Liu <[email protected]>
2025-06-17 13:53:20 +00:00

48 lines
1.1 KiB
JSON

{
"name": "next-nx-test",
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/next-nx-test",
"projectType": "application",
"targets": {
"build": {
"executor": "@nx/next:build",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"outputPath": "dist/apps/next-nx-test"
},
"configurations": {
"development": {
"outputPath": "apps/next-nx-test"
},
"production": {}
}
},
"serve": {
"executor": "@nx/next:server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "next-nx-test:build",
"dev": true
},
"configurations": {
"development": {
"buildTarget": "next-nx-test:build:development",
"dev": true
},
"production": {
"buildTarget": "next-nx-test:build:production",
"dev": false
}
}
},
"export": {
"executor": "@nx/next:export",
"options": {
"buildTarget": "next-nx-test:build:production"
}
}
},
"tags": []
}