mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-11-25 11:05:31 +03:00
26 lines
580 B
JavaScript
26 lines
580 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 color = require("postcss-color-mod-function");
|
|
|
|
module.exports = () => ({
|
|
plugins: [
|
|
url,
|
|
imports,
|
|
nested,
|
|
postCSSPresetEnv({
|
|
stage: 1,
|
|
preserve: true,
|
|
features: {
|
|
"custom-properties": true,
|
|
},
|
|
}),
|
|
cssnano({
|
|
preset: "default",
|
|
}),
|
|
color,
|
|
],
|
|
});
|