Skip to content

Instantly share code, notes, and snippets.

# PATCHED version to correctly recognize the `.next` generated directories as directories in the produced manifest
"contains container helper functions for js_binary"
load("@rules_pkg//:providers.bzl", "PackageFilegroupInfo", "PackageFilesInfo", "PackageSymlinkInfo")
load("@rules_pkg//:pkg.bzl", "pkg_tar")
load("@bazel_skylib//rules:write_file.bzl", "write_file")
load("@aspect_bazel_lib//lib:paths.bzl", "to_manifest_path")
load("@rules_python//python:defs.bzl", "py_binary")
# BAZEL_BINDIR has to be set to '.' so that js_binary preserves the PWD when running inside container.

Keybase proof

I hereby claim:

  • I am archen on github.
  • I am archen (https://keybase.io/archen) on keybase.
  • I have a public key ASA9Zt-QJnv_EbtZaJxeVcuvjKS9qPhN9mT66h2qBxIusQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am archen on github.
  • I am archen (https://keybase.io/archen) on keybase.
  • I have a public key whose fingerprint is 2705 33BE A01C 30A5 B577 F664 6AAB 356A 70A0 821C

To claim this, I am signing this object: