Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazel: use short_path with entry_points #109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

manuelnaranjo
Copy link

Without this change bazel will pass the full qualified name like k8-fastbuild/bin/ which but rollup is being called from k8-fastbuild/bin so it can't resolve properly

I noticed the repo has not tests for multiple entry_point that's why it has gone unnoticed

Changes are visible to end-users: yes

  • I think end-users where not able to use the module before at all

  • Searched for relevant documentation and updated as needed: yes

  • Breaking change (forces users to change their own code or config): no (don't think so)

  • Suggested release notes appear below: yes

  • Manual testing; please provide instructions so we can reproduce: Tested into our monorepo, we have a ts_project that generates a bunch of js files, then we pass those as entry_points to rollup_bundle

If required I could try to setup a unit test

Without this change bazel will pass the full qualified name like
k8-fastbuild/bin/<package> which but rollup is being called from
k8-fastbuild/bin so it can't resolve properly
@jbedard
Copy link
Member

jbedard commented Oct 7, 2024

Can you try adding a test that fails without the change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants