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
Mimic FontAwesome's `package.json`.
- Add `style` package export
- Add `styles.scss` and `styles` exports
- Add `styles.scss` to "side effects" to prevent issues with tree-shaking
With this commit, it is possible to import the style with the following
approaches:
```scss
@import "choices.js";
@import "choices.js/styles";
@import "choices.js/styles.scss";
```
Refs:
- https://webpack.js.org/guides/package-exports/
- FortAwesome/Font-Awesome#18654CloseChoices-js#1184
0 commit comments