Опис
With build tools like purgeCSS used by frameworks like TailwindCSS the need to remove all of the unused CSS classes from built CSS files has become an important factor.
However, these tools can only look in source files for classes that should be kept. Therefore any classes generated by WordPress, such as classes used in the post editor will not be considered and overpurging occurs.
This plugin allows solves this problem by:
- Logging all classes from page requests
- Generating a text file that can be used in your build process
Постављање
This section describes how to install the plugin and get it working.
- Upload
wp-blaze-css
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Visit the pages that contain the classes you’d like to log and keep.
- A text file in
/wp-content/uploads/blaze.csv
will be generated for use with your build tools.
Прегледи
Нема рецензија за овај додатак.
Сарадници и градитељи
Blaze CSS је софтвер отвореног кода. Следећи људи су допринели овом додатку.
СараднициПреведите Blaze CSS на свој језик.
Заинтересовани сте за градњу?
Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.
Белешка о изменама
1.1.3
- Fixed CSV generation from manual command.
1.1.2
- Added settings menu.
- Fixed PHP notices.
- Vendor directory not being deployed properly.
1.0.1
- Fixed some PHP notices.
1.0
- First version.