You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a portion of UI that is accessible only to a part of our user and another part accessible only to other part. In this case we want to avoid exposing UI because all buttons won't be functional, we also want to avoid downloading the chunk of code not related to our user kind. We could do this dynamically with boilerplate but it will complexify the code and be less optimal.
Feature Proposal
Allow to specify alias based on entry selected. If you want to see other thought vitejs/vite#16685 might provides informations (because I opened there but we come to the conclusion is it not asked in the right project). Maybe this issue need to be moved to rollup core directly.
The text was updated successfully, but these errors were encountered:
Et7f3
changed the title
[@rollup/plugin-alias]
[@rollup/plugin-alias] Allow to configure alias based on entry point
May 18, 2024
Feature Use Case
We have a portion of UI that is accessible only to a part of our user and another part accessible only to other part. In this case we want to avoid exposing UI because all buttons won't be functional, we also want to avoid downloading the chunk of code not related to our user kind. We could do this dynamically with boilerplate but it will complexify the code and be less optimal.
Feature Proposal
Allow to specify alias based on entry selected. If you want to see other thought vitejs/vite#16685 might provides informations (because I opened there but we come to the conclusion is it not asked in the right project). Maybe this issue need to be moved to rollup core directly.
The text was updated successfully, but these errors were encountered: