rules_nodejs recently added an @bazel/esbuild package. We should investigate if using that is better than rollup_bundle(). Currently I don't think it solves #26, but it is worth evaluating. esbuild itself seems to support multiple entry points and outputs to a directory of the same structure, so I think it is as capable as Rollup in this regard. It doesn't seem like @bazel/esbuild supports multiple entry points at the moment though, so that may be a separate issue to work through.
rules_nodejs
recently added an@bazel/esbuild
package. We should investigate if using that is better thanrollup_bundle()
. Currently I don't think it solves #26, but it is worth evaluating.esbuild
itself seems to support multiple entry points and outputs to a directory of the same structure, so I think it is as capable as Rollup in this regard. It doesn't seem like@bazel/esbuild
supports multiple entry points at the moment though, so that may be a separate issue to work through.