mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
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]>
48 lines
1.1 KiB
JSON
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": []
|
|
}
|