File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ def _js_run_devserver_impl(ctx):
49
49
include_npm_sources = ctx .attr .include_npm_sources ,
50
50
)]
51
51
52
+ default_data_runfiles = [target [DefaultInfo ].default_runfiles .files for target in ctx .attr .data ]
53
+
52
54
# The .to_list() calls here are intentional and cannot be avoided; they should be small sets of
53
55
# files as they only include direct npm links (node_modules/foo) and the package store tree
54
56
# artifacts those symlinks point to (node_modules/.aspect_rules_js/[email protected] /node_modules/foo)
55
57
data_files = []
56
- for f in depset (transitive = transitive_runfiles + [dep .files for dep in ctx .attr .data ]).to_list ():
58
+ for f in depset (transitive = transitive_runfiles + [dep .files for dep in ctx .attr .data ] + default_data_runfiles ).to_list ():
57
59
if "/.aspect_rules_js/" in f .path :
58
60
# Special handling for package store deps; we only include 1st party deps since copying
59
61
# all 3rd party node_modules over is expensive for typical graphs
You can’t perform that action at this time.
0 commit comments