Merge "Specify exact dependencies for rollup-bin"
This commit is contained in:
commit
a7369b99c9
@ -8,8 +8,12 @@ package(default_visibility = ["//visibility:public"])
|
||||
# Usage: rollup_bundle(rollup_bin = "//tools/node_tools:rollup-bin, ...)
|
||||
nodejs_binary(
|
||||
name = "rollup-bin",
|
||||
# Define only minimal required dependencies.
|
||||
# Otherwise remote build execution fails with the too many
|
||||
# files error when it builds :release target.
|
||||
data = [
|
||||
"@tools_npm//:node_modules",
|
||||
"@tools_npm//rollup",
|
||||
"@tools_npm//rollup-plugin-terser",
|
||||
],
|
||||
# The entry point must be "@tools_npm:node_modules/rollup/dist/bin/rollup",
|
||||
# But bazel doesn't run it correctly with the following command line:
|
||||
|
Loading…
Reference in New Issue
Block a user