diff --git a/npm/react/package.json b/npm/react/package.json index bafcb661eeef..a8e4403dabd8 100644 --- a/npm/react/package.json +++ b/npm/react/package.json @@ -91,6 +91,9 @@ "nx": { "targets": { "build": { + "dependsOn": [ + "!@cypress/react18:build" + ], "inputs": [ "{workspaceRoot}/scripts" ], diff --git a/npm/vue/package.json b/npm/vue/package.json index 062d549bc5fe..1041eca9905c 100644 --- a/npm/vue/package.json +++ b/npm/vue/package.json @@ -83,6 +83,9 @@ "nx": { "targets": { "build": { + "dependsOn": [ + "!@cypress/react18:build" + ], "inputs": [ "{workspaceRoot}/scripts" ], diff --git a/npm/webpack-preprocessor/package.json b/npm/webpack-preprocessor/package.json index bd716feefb54..a23db178cd42 100644 --- a/npm/webpack-preprocessor/package.json +++ b/npm/webpack-preprocessor/package.json @@ -75,6 +75,9 @@ "nx": { "targets": { "build": { + "dependsOn": [ + "!@cypress/react18:build" + ], "outputs": [ "{projectRoot}/dist" ]