Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: load ng-dev release package builder using CJS interop (#46454)
We need to switch the package builder to ESM or TS, like we did in the components repo, but for now until we can, the release script should work by loading the package builder CJS through the dynamic import expression. PR Close #46454
- Loading branch information
1 parent
7a084c8
commit 13c5585
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* @license | ||
* Copyright Google LLC All Rights Reserved. | ||
* | ||
* Use of this source code is governed by an MIT-style license that can be | ||
* found in the LICENSE file at https://angular.io/license | ||
*/ | ||
|
||
/** | ||
* Build the Angular packages. | ||
* | ||
* @param {string} destDir Path to the output directory into which we copy the npm packages. | ||
* This path should either be absolute or relative to the project root. | ||
* @param {string} description Human-readable description of the build. | ||
* @param {boolean?} isRelease True, if the build should be stamped for a release. | ||
* @returns {Array<{name: string, outputPath: string}} A list of packages built. | ||
*/ | ||
export declare function buildTargetPackages(destDir, description, isRelease: boolean): {name: string, outputPath: string}[]; |