Files
passport/postcss.config.js
Zoe db60969684
Some checks failed
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
V0.3.3: Even more optimization
In this realease, I have further optimized Passport. The css that
Passport now uses is entirely handrolled and build via postcss (sadly).
Several bugs have also been fixed in this release, as well as a few
performance improvements relating to the admin UI.
2025-10-04 22:11:30 -05:00

23 lines
600 B
JavaScript

import { purgeCSSPlugin } from "@fullhuman/postcss-purgecss";
import postcssPresetEnv from "postcss-preset-env";
import postcssImport from "postcss-import";
import cssnano from "cssnano";
export default {
plugins: [
postcssImport,
purgeCSSPlugin({
content: ["./src/**/*.hbs", "./src/**/*.js"],
}),
postcssPresetEnv({
browsers: "last 4 versions",
// false *dsables* polyfills
features: {
"cascade-layers": false,
},
autoprefixer: false,
}),
cssnano,
],
};