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

link_all_prerender_components() #60

Open
dgp1130 opened this issue Feb 14, 2023 · 0 comments
Open

link_all_prerender_components() #60

dgp1130 opened this issue Feb 14, 2023 · 0 comments
Labels
feature New feature or request

Comments

@dgp1130
Copy link
Owner

dgp1130 commented Feb 14, 2023

Currently we have link_prerender_component() as a re-interpretation of npm_link_package() to make prerender_component() targets available from an NPM package. We should also include link_all_prerender_components() similar to npm_link_all_packages() so users don't have to explicitly link every dependency they use.

This could probably be done via a workspace rule which looks over all the installed NPM packages for anything with the right metadata in package.json() and generating a workspace-specific link_all_prerender_components() macro which generates the link_prerender_component() calls automatically. Should also look at npm_link_all_packages() for inspiration here.

@dgp1130 dgp1130 added the feature New feature or request label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant