Add purgecss.txt and dummy.html

This commit is contained in:
Santiago Lo Coco 2022-02-14 21:20:17 -03:00
parent 2032ad1be5
commit d4810b6d2d
3 changed files with 7 additions and 2 deletions

2
.gitignore vendored
View File

@ -13,5 +13,3 @@ node_modules
package.json
package-lock.json
assets/css/notpurged
purgecss.txt
_includes/dummy.html

4
_includes/dummy.html Normal file
View File

@ -0,0 +1,4 @@
<!-- This html was created for purgecss -->
<div class="profile float-right float-left"></div>
<img class="img-fluid z-dept-1 rounded" src="/assets/img/prof_pic.jpg" alt="prof_pic.jpg">

3
purgecss.txt Normal file
View File

@ -0,0 +1,3 @@
1. npx
2. purgecss -css assets/css/notpurged/mdb.min.css --content _includes/*.html _includes/scripts/*.html _layouts/*.html _pages/*.md _projects/*.md _sass/* assets/js/*.js --output assets/css/mdb.min.css
3. purgecss -css assets/css/notpurged/bootstrap.min.css --content _includes/*.html _includes/scripts/*.html _layouts/*.html _pages/*.md _projects/*.md _sass/* assets/js/*.js --output assets/css/bootstrap.min.css