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

Support fully qualified and any relative requirement paths of a library's JavaScript #5275

Open
nilmerg opened this issue Oct 7, 2024 · 0 comments · May be fixed by #5276
Open

Support fully qualified and any relative requirement paths of a library's JavaScript #5275

nilmerg opened this issue Oct 7, 2024 · 0 comments · May be fixed by #5276
Assignees
Labels
area/framework Affects third party integration/development area/javascript Affects the javascript framework enhancement New feature or improvement
Milestone

Comments

@nilmerg
Copy link
Member

nilmerg commented Oct 7, 2024

Is your feature request related to a problem? Please describe.

A library's JavaScript can require various dependencies by using define(). However, such a dependency is currently limited to:

  • being located in the current library (no vendor dependency support)
  • having no extension in its name (no extension other than js supported)

Describe the solution you'd like

  • Vendor dependencies should be supported, i.e. dependencies which are unknown to the optimizer should be left alone
  • Other extensions should be supported, js must still be the default
@nilmerg nilmerg added enhancement New feature or improvement area/javascript Affects the javascript framework area/framework Affects third party integration/development labels Oct 7, 2024
@nilmerg nilmerg added this to the 2.12.2 milestone Oct 7, 2024
@nilmerg nilmerg self-assigned this Oct 7, 2024
@nilmerg nilmerg linked a pull request Oct 7, 2024 that will close this issue
@nilmerg nilmerg modified the milestones: 2.12.2, 2.13 Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/framework Affects third party integration/development area/javascript Affects the javascript framework enhancement New feature or improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant