diff --git a/internal/npm_install/npm_umd_bundle.bzl b/internal/npm_install/npm_umd_bundle.bzl index 64785fc7b3..5fca19800f 100644 --- a/internal/npm_install/npm_umd_bundle.bzl +++ b/internal/npm_install/npm_umd_bundle.bzl @@ -40,7 +40,7 @@ def _npm_umd_bundle(ctx): inputs = [ f for f in sources - if f.path.endswith(".js") or f.basename == "package.json" + if f.path.endswith(".js") or f.path.endswith(".json") ] ctx.actions.run(