Minimalist Hexo plugin for rendering PostCSS
npm install @goto-bus-stop/hexo-renderer-postcss
Hexo will auto-detect this plugin.
It uses postcss-load-config
.
Create a postcss.config.js
file to configure plugins et cetera.
module.exports = {
plugins: {
'postcss-import': {},
'cssnano': {}
}
}