From 930cf40a4a78d6109454549ee4f089a281b7574c Mon Sep 17 00:00:00 2001 From: Jack Hsu Date: Thu, 17 Oct 2019 12:46:34 -0400 Subject: [PATCH] fix(nx): add `outputPath` in schema.json for web and node build builders. (#1959) Related: #1945 --- docs/angular/api-node/builders/build.md | 6 ++++++ docs/angular/api-web/builders/build.md | 6 ++++++ docs/react/api-node/builders/build.md | 6 ++++++ docs/react/api-web/builders/build.md | 6 ++++++ docs/web/api-node/builders/build.md | 6 ++++++ docs/web/api-web/builders/build.md | 6 ++++++ packages/node/src/builders/build/schema.json | 4 ++++ packages/web/src/builders/build/schema.json | 4 ++++ 8 files changed, 44 insertions(+) diff --git a/docs/angular/api-node/builders/build.md b/docs/angular/api-node/builders/build.md index 9181023e74..cbae0efba2 100644 --- a/docs/angular/api-node/builders/build.md +++ b/docs/angular/api-node/builders/build.md @@ -66,6 +66,12 @@ Type: `boolean` Defines the optimization level of the build. +### outputPath + +Type: `string` + +The output path of the generated files. + ### poll Type: `number` diff --git a/docs/angular/api-web/builders/build.md b/docs/angular/api-web/builders/build.md index 7fde617fd2..4d12345dd5 100644 --- a/docs/angular/api-web/builders/build.md +++ b/docs/angular/api-web/builders/build.md @@ -122,6 +122,12 @@ Possible values: `none`, `all`, `media`, `bundles` Define the output filename cache-busting hashing mode. +### outputPath + +Type: `string` + +The output path of the generated files. + ### polyfills Type: `string` diff --git a/docs/react/api-node/builders/build.md b/docs/react/api-node/builders/build.md index 71c688d5b9..46eac365f5 100644 --- a/docs/react/api-node/builders/build.md +++ b/docs/react/api-node/builders/build.md @@ -67,6 +67,12 @@ Type: `boolean` Defines the optimization level of the build. +### outputPath + +Type: `string` + +The output path of the generated files. + ### poll Type: `number` diff --git a/docs/react/api-web/builders/build.md b/docs/react/api-web/builders/build.md index b47f8d037c..6963837b44 100644 --- a/docs/react/api-web/builders/build.md +++ b/docs/react/api-web/builders/build.md @@ -123,6 +123,12 @@ Possible values: `none`, `all`, `media`, `bundles` Define the output filename cache-busting hashing mode. +### outputPath + +Type: `string` + +The output path of the generated files. + ### polyfills Type: `string` diff --git a/docs/web/api-node/builders/build.md b/docs/web/api-node/builders/build.md index 957f1d1027..dfb04b506d 100644 --- a/docs/web/api-node/builders/build.md +++ b/docs/web/api-node/builders/build.md @@ -67,6 +67,12 @@ Type: `boolean` Defines the optimization level of the build. +### outputPath + +Type: `string` + +The output path of the generated files. + ### poll Type: `number` diff --git a/docs/web/api-web/builders/build.md b/docs/web/api-web/builders/build.md index 9215904520..e336632866 100644 --- a/docs/web/api-web/builders/build.md +++ b/docs/web/api-web/builders/build.md @@ -123,6 +123,12 @@ Possible values: `none`, `all`, `media`, `bundles` Define the output filename cache-busting hashing mode. +### outputPath + +Type: `string` + +The output path of the generated files. + ### polyfills Type: `string` diff --git a/packages/node/src/builders/build/schema.json b/packages/node/src/builders/build/schema.json index 60dabd3a9a..85a53823f3 100644 --- a/packages/node/src/builders/build/schema.json +++ b/packages/node/src/builders/build/schema.json @@ -11,6 +11,10 @@ "type": "string", "description": "The name of the Typescript configuration file." }, + "outputPath": { + "type": "string", + "description": "The output path of the generated files." + }, "watch": { "type": "boolean", "description": "Run build when files change.", diff --git a/packages/web/src/builders/build/schema.json b/packages/web/src/builders/build/schema.json index 4010c37f36..9752c89ea5 100644 --- a/packages/web/src/builders/build/schema.json +++ b/packages/web/src/builders/build/schema.json @@ -11,6 +11,10 @@ "type": "string", "description": "The name of the Typescript configuration file." }, + "outputPath": { + "type": "string", + "description": "The output path of the generated files." + }, "watch": { "type": "boolean", "description": "Enable re-building when files change.",