Skip to content

Commit

Permalink
fix(data): use ng_package for bundling instead of pkg_npm
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonroberts committed Feb 16, 2020
1 parent 943a2bb commit 9a935b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/data/BUILD
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])

load("//tools:defaults.bzl", "ng_module", "pkg_npm")
load("//tools:defaults.bzl", "ng_module", "ng_package")

ng_module(
name = "data",
Expand All @@ -19,11 +19,12 @@ ng_module(
],
)

pkg_npm(
ng_package(
name = "npm_package",
srcs = glob(["**/*.externs.js"]) + [
"package.json",
],
entry_point = "modules/data/index.js",
nested_packages = [
"//modules/data/migrations:npm_package",
"//modules/data/schematics:npm_package",
Expand Down

0 comments on commit 9a935b1

Please sign in to comment.