diff --git a/nx.json b/nx.json index aaa65c9..c52ad9d 100644 --- a/nx.json +++ b/nx.json @@ -30,20 +30,6 @@ } } }, - "targetDependencies": { - "build": [ - { - "target": "build", - "projects": "dependencies" - } - ], - "release": [ - { - "target": "release", - "projects": "dependencies" - } - ] - }, "$schema": "./node_modules/nx/schemas/nx-schema.json", "namedInputs": { "default": ["{projectRoot}/**/*", "sharedGlobals"], @@ -64,8 +50,12 @@ "targetDefaults": { "build": { "inputs": ["production", "^production"], + "dependsOn": ["^build"], "cache": true }, + "release": { + "dependsOn": ["^release"] + }, "lint": { "cache": true },