You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I have a select2 js file located here resources/assets/libs/select2/dist/js/select2.min.js. The select2.min.js file is included inside core.js file.
The css file css NOT scss is located here resources/assets/libs/select2/dist/css/select2.css. The select2.css file is included inside core.scss file.
When i don't use purgeCss the select2 classes injected by its JS are working fine but when i apply purgeCss the select2 classes injected by its JS are no longer there in the css and that is why select2 design is messed up.
I want to exlude all those classes OR ID's used in my blade views or JS.
Please tell me do i have to use all the levels of safelist ? or which one should i use in this case, i also tried path.join(__dirname, 'resources/**/*.blade.php')
This discussion was converted from issue #129 on August 23, 2022 07:16.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, I have a select2 js file located here
resources/assets/libs/select2/dist/js/select2.min.js
. The select2.min.js file is included inside core.js file.The css file
css NOT scss
is located hereresources/assets/libs/select2/dist/css/select2.css
. The select2.css file is included inside core.scss file.When i don't use purgeCss the select2 classes injected by its JS are working fine but when i apply purgeCss the select2 classes injected by its JS are no longer there in the css and that is why select2 design is messed up.
I want to exlude all those classes OR ID's used in my blade views or JS.
Please tell me do i have to use all the levels of safelist ? or which one should i use in this case, i also tried
path.join(__dirname, 'resources/**/*.blade.php')
Beta Was this translation helpful? Give feedback.
All reactions