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.

(cherry picked from commit 8216826)
  • Loading branch information
josephperrott authored and devversion committed Jan 14, 2025
1 parent a96f68e commit 8e110bb
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
Expand Up @@ -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"])

Expand Down Expand Up @@ -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",
],
)

Expand Down

0 comments on commit 8e110bb

Please sign in to comment.