Skip to content

Commit bc84475

Browse files
committed
bug #2902 [Autocomplete] Force installation of CSS files for AssetMapper (leevigraham)
This PR was merged into the 2.x branch. Discussion ---------- [Autocomplete] Force installation of CSS files for AssetMapper | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Docs? | no | Issues | Fix #2901 | License | MIT Explicitly add missing css files defined in `autoimport` in [`/src/Autocomplete/assets/package.json`](https://github.com/symfony/ux/blob/2.x/src/Autocomplete/assets/package.json#L31-L35) Commits ------- d4559c5 Fixes #2901 - [Autocomplete] - Asset mapper installs wrong css file
2 parents 9e5f700 + d4559c5 commit bc84475

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Autocomplete/assets/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@
3737
},
3838
"importmap": {
3939
"@hotwired/stimulus": "^3.0.0",
40-
"tom-select": "^2.2.2"
40+
"tom-select": "^2.2.2",
41+
"tom-select/dist/css/tom-select.default.css": "^2.2.2",
42+
"tom-select/dist/css/tom-select.bootstrap4.css": "^2.2.2",
43+
"tom-select/dist/css/tom-select.bootstrap5.css": "^2.2.2"
4144
}
4245
},
4346
"peerDependencies": {

0 commit comments

Comments
 (0)