Skip to content

Commit

Permalink
Ignore modal styles "swal2" when purging unused CSS cachethq#20
Browse files Browse the repository at this point in the history
  • Loading branch information
sedan07 committed Feb 8, 2021
1 parent b797f36 commit 5ed3464
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion public/dist/css/app.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/mix-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"/dist/js/vendor.js": "/dist/js/vendor.js?id=22c73f1593b70b9d016d",
"/dist/js/app.js": "/dist/js/app.js?id=12e6b695b831cbabd3d1",
"/dist/css/dashboard/dashboard.css": "/dist/css/dashboard/dashboard.css?id=b852328268eb134b318a",
"/dist/css/app.css": "/dist/css/app.css?id=1306d0d67a3bac435647",
"/dist/css/app.css": "/dist/css/app.css?id=bd1fec67352aae46291e",
"/dist/js/manifest.js": "/dist/js/manifest.js?id=40dcfff9d09d402daf38",
"/dist/js/all.js": "/dist/js/all.js?id=35d57a8ca7bf5f486347"
}
2 changes: 1 addition & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mix
.sass('resources/assets/sass/dashboard.scss', 'public/dist/css/dashboard', sassOptions)
.sass('resources/assets/sass/app.scss', 'public/dist/css', sassOptions)
.purgeCss({
whitelistPatterns: [/^tooltip/]
whitelistPatterns: [/^tooltip/, /^swal2-/]
})
.options({
processCssUrls: false
Expand Down

0 comments on commit 5ed3464

Please sign in to comment.