V0.3.3: Even more optimization
Some checks failed
Build and Push Docker Image to GHCR / build-and-push (push) Failing after 25m29s
Some checks failed
Build and Push Docker Image to GHCR / build-and-push (push) Failing after 25m29s
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.
This commit is contained in:
22
postcss.config.js
Normal file
22
postcss.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
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,
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user