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

Import side-effects in the list option module. #730

Merged
merged 2 commits into from
Sep 10, 2022
Merged

Import side-effects in the list option module. #730

merged 2 commits into from
Sep 10, 2022

Conversation

TrevorKarjanis
Copy link
Contributor

Pull Request

🤨 Rationale

Fixes #729. Nimble combo box and select components break when list options are tree-shaken. The nimble-list-option.module.ts does not import the list-option side-effects. Bundler optimizations will reduce named imports to direct deep imports, and remove any other code in a module.

👩‍💻 Implementation

Import list options with side-effects.

🧪 Testing

  • Manually verified that combo box and select components work with Angular 14
  • Verified that the linter check passes
  • Verified that automated tests pass

✅ Checklist

  • I have updated the project documentation to reflect my changes or determined no changes are needed.

@rajsite rajsite merged commit b2e7f21 into main Sep 10, 2022
@rajsite rajsite deleted the fix-729 branch September 10, 2022 23:33
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.

List options are broken when bundled with tree-shaking
2 participants