Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Apr 25, 2019
1 parent 729e17e commit 552cec9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions internal/npm_install/npm_amd_bundle.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,9 @@ def _npm_amd_bundle(ctx):
args.add(output.path)

inputs = _filter_js_inputs(ctx.attr.package[NodeModuleSources].sources.to_list())
# print(ctx.file.entry_point)
# print(ctx.file.entry_point.path)
# print(ctx.file.entry_point.short_path)
# print(inputs)

ctx.actions.run(
progress_message = "Generated amd bundle for %s npm package [browserify]" % ctx.attr.package_name,
progress_message = "Generated named-AMD bundle for %s npm package [browserify]" % ctx.attr.package_name,
executable = ctx.executable._browserify_wrapped,
inputs = inputs,
outputs = [output],
Expand Down Expand Up @@ -84,7 +80,6 @@ NPM_AMD_ATTRS = {
executable = True,
cfg = "host",
default = Label("@build_bazel_rules_nodejs//internal/npm_install:browserify-wrapped"),
#default = Label("@build_bazel_rules_nodejs//third_party/github.com/browserify/browserify:browserify"),
),
}

Expand Down

0 comments on commit 552cec9

Please # to comment.