Skip to content

Commit c075a56

Browse files
jason-haanthony-murphy-agent
authored andcommitted
build(client): fix api entrypoint task dependencies (microsoft#26110)
This partially reverts "build: streamline by removing unneeded build deps (microsoft#25733)" (commit ee07c75). It lets "compile" task only depend on ancestor "api" and preserves the commented out line removal. To make the build more efficient, API entrypoint generation should be made distinct from api-extractor reports.
1 parent c84d156 commit c075a56

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

fluidBuild.config.cjs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module.exports = {
4949
script: false,
5050
},
5151
"compile": {
52-
dependsOn: ["commonjs", "build:esnext", "build:test", "build:copy"],
52+
dependsOn: ["commonjs", "build:esnext", "^api", "build:test", "build:copy"],
5353
script: false,
5454
},
5555
"commonjs": {
@@ -78,9 +78,9 @@ module.exports = {
7878
// Generic build:test script should be replaced by :esm or :cjs specific versions.
7979
// "tsc" would be nice to eliminate from here, but plenty of packages still focus
8080
// on CommonJS.
81-
"build:test": ["typetests:gen", "tsc"],
82-
"build:test:cjs": ["typetests:gen", "tsc"],
83-
"build:test:esm": ["typetests:gen", "build:esnext"],
81+
"build:test": ["typetests:gen", "tsc", "api-extractor:commonjs", "api-extractor:esnext"],
82+
"build:test:cjs": ["typetests:gen", "tsc", "api-extractor:commonjs"],
83+
"build:test:esm": ["typetests:gen", "build:esnext", "api-extractor:esnext"],
8484
"api": {
8585
dependsOn: ["api-extractor:commonjs", "api-extractor:esnext"],
8686
script: false,

0 commit comments

Comments
 (0)