UNPKG

467 BJavaScriptView Raw
1var postcss = require('postcss');
2var bug3 = require('./bugs/bug3');
3var bug4 = require('./bugs/bug4');
4var bug7 = require('./bugs/bug7');
5var bug81a = require('./bugs/bug81a');
6
7module.exports = postcss.plugin('postcss-flexbugs-fixes', function(opts) {
8 opts = opts || {};
9
10 return function(css) {
11 css.eachDecl(function(d) {
12 bug3(d);
13 bug4(d);
14 bug7(d);
15 bug81a(d);
16 });
17 };
18});