Преглед на файлове

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 години
родител
ревизия
43ffaea244
променени са 2 файла, в които са добавени 4 реда и са изтрити 0 реда
  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"