hugo-theme-terminal/.postcssrc.js

28 lines
592 B
JavaScript
Raw Normal View History

2019-01-28 03:11:02 +03:00
const url = require("postcss-url");
const imports = require("postcss-import");
const nested = require("postcss-nested");
const postCSSPresetEnv = require("postcss-preset-env");
const cssnano = require("cssnano");
const color = require("postcss-color-mod-function");
2019-02-01 00:06:54 +03:00
const mixins = require("postcss-mixins");
2019-01-28 03:11:02 +03:00
module.exports = () => ({
plugins: [
url,
imports,
2019-02-01 00:06:54 +03:00
mixins,
2019-01-28 03:11:02 +03:00
nested,
postCSSPresetEnv({
stage: 1,
preserve: true,
features: {
"custom-properties": true,
},
}),
cssnano({
preset: "default",
}),
color,
],
});