Skip to content

Commit 8216826

Browse files
josephperrottdevversion
authored andcommitted
build: migrate @ngtools/webpack to npm_package
This allows us to use the package in the RJS pnpm workspace.
1 parent f00c2c1 commit 8216826

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: packages/ngtools/webpack/BUILD.bazel

+4-5
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55

66
load("@npm//@angular/build-tooling/bazel/api-golden:index.bzl", "api_golden_test_npm_package")
77
load("@npm//@bazel/jasmine:index.bzl", "jasmine_node_test")
8-
load("//tools:defaults.bzl", "pkg_npm")
9-
load("//tools:interop.bzl", "ts_project")
8+
load("//tools:defaults2.bzl", "npm_package", "ts_project")
109

1110
licenses(["notice"])
1211

@@ -67,13 +66,13 @@ genrule(
6766
cmd = "cp $(execpath //:LICENSE) $@",
6867
)
6968

70-
pkg_npm(
71-
name = "npm_package",
69+
npm_package(
70+
name = "pkg",
7271
tags = ["release-package"],
7372
deps = [
7473
":README.md",
7574
":license",
76-
":webpack",
75+
":webpack_rjs",
7776
],
7877
)
7978

0 commit comments

Comments
 (0)