Some checks failed
Build and Push Docker Image to GHCR / build-and-push (push) Has been cancelled
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.
23 lines
600 B
JavaScript
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,
|
|
],
|
|
};
|