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]>
44 lines
993 B
JSON
44 lines
993 B
JSON
{
|
|
"$schema": "./node_modules/nx/schemas/nx-schema.json",
|
|
"namedInputs": {
|
|
"default": ["{projectRoot}/**/*", "sharedGlobals"],
|
|
"production": ["default"],
|
|
"sharedGlobals": []
|
|
},
|
|
"plugins": [
|
|
{
|
|
"plugin": "@nx/js/typescript",
|
|
"options": {
|
|
"typecheck": {
|
|
"targetName": "typecheck"
|
|
},
|
|
"build": {
|
|
"targetName": "build",
|
|
"configName": "tsconfig.lib.json",
|
|
"buildDepsName": "build-deps",
|
|
"watchDepsName": "watch-deps"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"plugin": "@nx/next/plugin",
|
|
"options": {
|
|
"startTargetName": "start",
|
|
"buildTargetName": "build",
|
|
"devTargetName": "dev",
|
|
"serveStaticTargetName": "serve-static",
|
|
"buildDepsTargetName": "build-deps",
|
|
"watchDepsTargetName": "watch-deps"
|
|
}
|
|
}
|
|
],
|
|
"generators": {
|
|
"@nx/next": {
|
|
"application": {
|
|
"style": "css",
|
|
"linter": "none"
|
|
}
|
|
}
|
|
}
|
|
}
|