- Migrates the site to Svelte 5 - Still generates a static site with inlined critical path CSS for the ultimate in performance - Opens up future possibilities for site growth Reviewed-on: #1 Co-authored-by: mifi <badmf@mifi.dev> Co-committed-by: mifi <badmf@mifi.dev>
18 lines
475 B
JavaScript
18 lines
475 B
JavaScript
/**
|
|
* PostCSS: nesting, future CSS (stage 2), and autoprefixing.
|
|
* postcss-preset-env compiles nesting (&), custom properties, and other
|
|
* stage-2 features, and runs autoprefixer from browserslist.
|
|
*/
|
|
export default {
|
|
plugins: {
|
|
'postcss-preset-env': {
|
|
stage: 2,
|
|
features: {
|
|
'nesting-rules': true,
|
|
'custom-properties': true,
|
|
},
|
|
autoprefixer: { grid: true },
|
|
},
|
|
},
|
|
};
|