mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-27 18:50:29 -04:00
54 lines
1.1 KiB
JavaScript
54 lines
1.1 KiB
JavaScript
module.exports = {
|
|
options: {
|
|
map: false,
|
|
},
|
|
plugins: [
|
|
require("postcss-import")(),
|
|
require("autoprefixer")(),
|
|
require("postcss-svgo")({
|
|
encode: true,
|
|
plugins: [
|
|
{
|
|
sortAttrs: true,
|
|
},
|
|
{
|
|
mergePaths: true,
|
|
},
|
|
{
|
|
cleanupNumericValues: {
|
|
floatPrecision: 2,
|
|
},
|
|
},
|
|
],
|
|
}),
|
|
require("postcss-focus")(),
|
|
require("postcss-color-rgba-fallback")({
|
|
properties: [
|
|
"background-image"
|
|
],
|
|
}),
|
|
require("postcss-clean")({
|
|
compatibility: "*",
|
|
level: 1,
|
|
processImport: false,
|
|
format: {
|
|
breaks: {
|
|
afterAtRule: true,
|
|
afterBlockBegins: true,
|
|
afterBlockEnds: true,
|
|
afterComment: true,
|
|
afterRuleEnds: true,
|
|
beforeBlockEnds: true,
|
|
},
|
|
spaces: {
|
|
beforeBlockBegins: true,
|
|
},
|
|
semicolonAfterLastProperty: true,
|
|
},
|
|
}),
|
|
require("postcss-reporter")({
|
|
clearReportedMessages: true,
|
|
}),
|
|
],
|
|
};
|