Skip to content

Commit 9a935b1

Browse files
fix(data): use ng_package for bundling instead of pkg_npm
1 parent 943a2bb commit 9a935b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/data/BUILD

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package(default_visibility = ["//visibility:public"])
22

3-
load("//tools:defaults.bzl", "ng_module", "pkg_npm")
3+
load("//tools:defaults.bzl", "ng_module", "ng_package")
44

55
ng_module(
66
name = "data",
@@ -19,11 +19,12 @@ ng_module(
1919
],
2020
)
2121

22-
pkg_npm(
22+
ng_package(
2323
name = "npm_package",
2424
srcs = glob(["**/*.externs.js"]) + [
2525
"package.json",
2626
],
27+
entry_point = "modules/data/index.js",
2728
nested_packages = [
2829
"//modules/data/migrations:npm_package",
2930
"//modules/data/schematics:npm_package",

0 commit comments

Comments
 (0)