Skip to content

Commit 5d9a59f

Browse files
committed
Fix regression where webpack doesn't permit importing scss/css #1184
1 parent 240f359 commit 5d9a59f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Bug Fixes (from 11.0.0)
66
* Fix choice disable state wasn't considered when showing the "no choices to choose from" notice
77
* Fix regression "no choices to choose from" notice not triggering when no selectable choices exist for select-one. [#1185](https://github.com/Choices-js/Choices/issues/1185)
8+
* Fix regression where webpack doesn't permit importing scss/css [#1184](https://github.com/Choices-js/Choices/issues/1184)
89

910
### Chore
1011
* Add e2e tests for "no choices" behavior to match v10

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@
2525
"require": "./public/assets/scripts/choices.search-none.min.js"
2626
}
2727
},
28-
"sideEffects": false,
28+
"sideEffects": [
29+
"*.scss",
30+
"*.css"
31+
],
2932
"scripts": {
3033
"start": "run-p js:watch css:watch",
3134
"build": "run-p js:build css:build",

0 commit comments

Comments
 (0)