By adding a reference to the main dist CSS, gulp tools such as `sass-module-importer` can automatically import the stylesheet
@@ -2,6 +2,9 @@
## 4.0.6
+### New features/improvements
+- Add style property to package.json (#5019)
+
### Bug fixes
- Add `;` before beginning of factory wrapper (#5089)
- Clear tooltip from `select2-selection__rendered` when selection is cleared (#4746)
@@ -34,6 +34,7 @@
],
"license": "MIT",
"main": "dist/js/select2.js",
+ "style": "dist/css/select2.css",
"files": [
"src",
"dist"