mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: update to use npm_package.pack rule (#39636)
Remove the work around solution for the `npm pack`, we can now use `npm_package.pack` rule of bazel, since the windows os issue has been fixed here https://github.com/bazelbuild/rules_nodejs/commit/bc36519 PR Close #39636
This commit is contained in:
committed by
Misko Hevery
parent
b82c88a0bf
commit
545ce2bf7e
@@ -34,7 +34,7 @@ function buildZoneJsPackage(destPath) {
|
||||
console.info(`${scriptPath}:`);
|
||||
console.info(' Building zone.js npm package');
|
||||
console.info('##############################');
|
||||
exec(`${bazelCmd} build //packages/zone.js:npm_package`);
|
||||
exec(`${bazelCmd} run //packages/zone.js:npm_package.pack`);
|
||||
|
||||
// Create the output directory.
|
||||
const absDestPath = resolve(baseDir, destPath);
|
||||
|
||||
Reference in New Issue
Block a user