From b2baca65da0296bf3f75522ecbc6cd4d3543e941 Mon Sep 17 00:00:00 2001 From: Doug Parker Date: Sun, 23 Jul 2023 18:08:25 -0700 Subject: [PATCH] Adds visibility restriction to `css_bundle.bzl`. --- tools/binaries/css_bundler/css_bundle.bzl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/binaries/css_bundler/css_bundle.bzl b/tools/binaries/css_bundler/css_bundle.bzl index b709eb3f..dd68169a 100644 --- a/tools/binaries/css_bundler/css_bundle.bzl +++ b/tools/binaries/css_bundler/css_bundle.bzl @@ -1,6 +1,8 @@ load("@aspect_bazel_lib//lib:paths.bzl", "to_output_relative_path") load("//packages/rules_prerender/css:css_providers.bzl", "CssImportMapInfo", "CssInfo") +visibility(["//packages/rules_prerender/css/..."]) + def _css_bundle_impl(ctx): # Map each direct dependency source file to an output of the same full file path # under this target's name. Ideally we would just keep the name the same, but then