Purge only specific file
See original GitHub issueHey,
I tried to find any issue, or something in wiki but no luck there. I will try to describe my problem best I can.
Given I have files
app.less
admin.less
File admin.less
contains styles for admin theme, so I do not want to purge admin.less
. I will provide path to templates, where purgeCss can scan for classes, and I want to purge only app.less
, totally ignoring admin.less
. Is it somehow possible?
Regards.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9
Top Results From Across the Web
Introducing: Single File Cache Purge - The Cloudflare Blog
We're excited today to announce single file purge. The feature allows you to purge the cache of any URL without affecting any other...
Read more >How to delete only specific file type from a folder in ... - YouTube
... how to delete only specific file type from a folder in Windows Computer.https://www.facebook.com/trickshungerTelegram: http://t.me/fr...
Read more >How to batch-delete folders with only one file in it? - Super User
Open up PowerShell ISE and try running this: $targets = @() $folders = dir "D:\Users\Forza\Music\" | Where {$_.mode -match "d"} foreach ...
Read more >Delete all files of specific type (extension) recursively down a ...
In this answer, you delete everything that matches the file name in the entire drive. So if you wanted to delete some dll...
Read more >Robocopy - Exclude specific file from purge within subdirectory
I want to exclude a specific file from being deleted while still performing a purge. The specific file is located within a subdirectory...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I actually managed to solve this issue using the original purgecss package, instead of Spatie’s package.
Yeah, I made that possible by doing the following: