Skip to content

Commit

Permalink
Merge pull request cachethq#15 from fiveai/7-no-tooltip-background
Browse files Browse the repository at this point in the history
Stop tooltip styles getting purged from CSS when minifying cachethq#7
  • Loading branch information
sedan07 authored Jan 27, 2021
2 parents 3947f0d + e0c3889 commit 75c2449
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 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/dist/css/dashboard/dashboard.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"/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=1aa88eca219653fad120",
"/dist/css/app.css": "/dist/css/app.css?id=35430a94ad29f6d41963",
"/dist/css/dashboard/dashboard.css": "/dist/css/dashboard/dashboard.css?id=b852328268eb134b318a",
"/dist/css/app.css": "/dist/css/app.css?id=1306d0d67a3bac435647",
"/dist/js/manifest.js": "/dist/js/manifest.js?id=40dcfff9d09d402daf38",
"/dist/js/all.js": "/dist/js/all.js?id=1b19223dac30787790fe"
"/dist/js/all.js": "/dist/js/all.js?id=35d57a8ca7bf5f486347"
}
4 changes: 3 additions & 1 deletion webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ mix
.copyDirectory('node_modules/ionicons/fonts', 'public/fonts')
.sass('resources/assets/sass/dashboard.scss', 'public/dist/css/dashboard', sassOptions)
.sass('resources/assets/sass/app.scss', 'public/dist/css', sassOptions)
.purgeCss()
.purgeCss({
whitelistPatterns: [/^tooltip/]
})
.options({
processCssUrls: false
})
Expand Down

0 comments on commit 75c2449

Please sign in to comment.