Skip to content

Commit

Permalink
fi(npm_umd_bundle): include all json files
Browse files Browse the repository at this point in the history
To make a UMD bundle of the popular react testing library enzyme, bundling json files from @npm//entities is required
  • Loading branch information
mrmeku authored and alexeagle committed Apr 10, 2020
1 parent b1f4ffd commit 7e3f9b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/npm_install/npm_umd_bundle.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7e3f9b1

Please sign in to comment.