post/post-load-plugins

[test]: multi config

Scrum opened this issue · 1 comments

Scrum commented

package.json

"posthtml": {
  "posthtml-beautify": {
    "rusle": {
      "blankLines": true
    }
  }
}

posthtml.config.js

module.exports = {
  plugins: [
    require("posthtml-beautify")({
        rules: {
          blankLines: false
        }
    })
  ]
};

Just in case: blankLines should be inside rules object, see https://github.com/Scrum/posthtml-beautify#rules