blog/themes/hello-friend/postcss.config.js
Mathieu Broillet cda0c8f53d
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build encountered an error
init hugo
2023-06-11 11:34:59 +02:00

25 lines
570 B
JavaScript

const url = require("postcss-url");
const imports = require("postcss-import");
const nested = require("postcss-nested");
const postcssCustomMedia = require("postcss-custom-media");
const postCSSPresetEnv = require("postcss-preset-env");
const browsers = require("browserslist");
const cssnano = require("cssnano");
const mixins = require("postcss-mixins");
module.exports = () => ({
plugins: [
url,
imports,
mixins,
nested,
postcssCustomMedia,
postCSSPresetEnv({
stage: 1,
}),
cssnano({
preset: "default",
}),
],
});