mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 15:08:27 -04:00
- inject theme toggle placeholder instead of loading dynamically - explicitly set sticky header height - set `font-display: fallback`
26 lines
484 B
JavaScript
26 lines
484 B
JavaScript
// https://nextjs.org/docs/advanced-features/customizing-postcss-config#customizing-plugins
|
|
module.exports = {
|
|
plugins: [
|
|
"postcss-flexbugs-fixes",
|
|
[
|
|
"postcss-font-display",
|
|
{
|
|
display: "fallback",
|
|
replace: true,
|
|
},
|
|
],
|
|
[
|
|
"postcss-preset-env",
|
|
{
|
|
autoprefixer: {
|
|
flexbox: "no-2009",
|
|
},
|
|
stage: 3,
|
|
features: {
|
|
"custom-properties": false,
|
|
},
|
|
},
|
|
],
|
|
],
|
|
};
|