diff --git a/nx.json b/nx.json index a6f3b45a0..16fdf3f99 100644 --- a/nx.json +++ b/nx.json @@ -45,13 +45,17 @@ "dependsOn": ["build"], "executor": "@nx/js:release-publish", "options": { - "packageRoot": "dist/{projectRoot}", + "packageRoot": "{projectRoot}/dist", "registry": "https://registry.npmjs.org/" } } }, "namedInputs": { - "default": ["{projectRoot}/**/*", "sharedGlobals"], + "default": [ + "{projectRoot}/**/*", + "sharedGlobals", + "!{projectRoot}/dist/**/*" + ], "production": [ "default", "!{projectRoot}/eslint.config.?(c)js",