Skip to content

Commit

Permalink
build: migrate @ngtools/webpack to npm_package
Browse files Browse the repository at this point in the history
This allows us to use the package in the RJS pnpm workspace.
josephperrott authored and devversion committed Jan 14, 2025
1 parent f00c2c1 commit 8216826
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions packages/ngtools/webpack/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -5,8 +5,7 @@

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

licenses(["notice"])

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

pkg_npm(
name = "npm_package",
npm_package(
name = "pkg",
tags = ["release-package"],
deps = [
":README.md",
":license",
":webpack",
":webpack_rjs",
],
)

0 comments on commit 8216826

Please sign in to comment.