hugo-theme-hello-friend/postcss.config.js

25 lines
570 B
JavaScript
Raw Normal View History

const url = require("postcss-url");
const imports = require("postcss-import");
const nested = require("postcss-nested");
2022-10-23 11:16:46 +02:00
const postcssCustomMedia = require("postcss-custom-media");
const postCSSPresetEnv = require("postcss-preset-env");
const browsers = require("browserslist");
const cssnano = require("cssnano");
2019-02-01 10:06:44 +01:00
const mixins = require("postcss-mixins");
2018-07-20 19:14:22 +02:00
module.exports = () => ({
plugins: [
url,
imports,
2019-02-01 10:06:44 +01:00
mixins,
2018-07-20 19:14:22 +02:00
nested,
2022-10-23 11:16:46 +02:00
postcssCustomMedia,
2018-07-20 19:14:22 +02:00
postCSSPresetEnv({
stage: 1,
}),
cssnano({
preset: "default",
}),
],
});