Kaynağa Gözat

Add style property to package.json (#5019)

By adding a reference to the main dist CSS, gulp tools such as `sass-module-importer` can automatically import the stylesheet
Jevon Wright 7 yıl önce
ebeveyn
işleme
43ffaea244
2 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 3 0
      CHANGELOG.md
  2. 1 0
      package.json

+ 3 - 0
CHANGELOG.md

@@ -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)

+ 1 - 0
package.json

@@ -34,6 +34,7 @@
   ],
   "license": "MIT",
   "main": "dist/js/select2.js",
+  "style": "dist/css/select2.css",
   "files": [
     "src",
     "dist"