mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-25 09:15:07 +01:00
23 lines
486 B
JavaScript
23 lines
486 B
JavaScript
const url = require("postcss-url");
|
|
const imports = require("postcss-import");
|
|
const nested = require("postcss-nested");
|
|
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,
|
|
postCSSPresetEnv({
|
|
stage: 1,
|
|
}),
|
|
cssnano({
|
|
preset: "default",
|
|
}),
|
|
],
|
|
});
|