Skip to content

Commit

Permalink
fix(combobox): fix import path for some bundlers (carbon-design-syste…
Browse files Browse the repository at this point in the history
…m#11639)

### Related Ticket(s)

Closes carbon-design-system#11635

### Description

Adds the file extension to the import path for `lit/directives/if-defined.js` to fix issues with some bundlers.

### Changelog

**Changed**

- Adds the file extension to the import path for `lit/directives/if-defined.js` to fix issues with some bundlers.

<!-- React and Web Component deploy previews are enabled by default. -->
<!-- To enable additional available deploy previews, apply the following -->
<!-- labels for the corresponding package: -->
<!-- *** "test: e2e": Codesandbox examples and e2e integration tests -->
<!-- *** "package: services": Services -->
<!-- *** "package: utilities": Utilities -->
<!-- *** "RTL": React / Web Components (RTL) -->
<!-- *** "feature flag": React / Web Components (experimental) -->
  • Loading branch information
m4olivei authored Mar 19, 2024
1 parent d4ec527 commit 3af6e37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import CDSDropdown, { DROPDOWN_KEYBOARD_ACTION } from '../dropdown/dropdown';
import CDSComboBoxItem from './combo-box-item';
import styles from './combo-box.scss';
import { carbonElement as customElement } from '../../globals/decorators/carbon-element';
import { ifDefined } from 'lit/directives/if-defined';
import { ifDefined } from 'lit/directives/if-defined.js';
import ifNonEmpty from '../../globals/directives/if-non-empty';

export { DROPDOWN_DIRECTION, DROPDOWN_SIZE } from '../dropdown/dropdown';
Expand Down

0 comments on commit 3af6e37

Please sign in to comment.