Skip to content

Commit

Permalink
Use the official metalsmith postcss plugin
Browse files Browse the repository at this point in the history
Metalsmith is being updated fairly regularly now, and have an [official PostCSS plugin](https://github.com/metalsmith/postcss).

We've been blocked on bumping some dependencies because of this (#2016).

I've run `npm build` and there is one small prefixing change in the resulting CSS, but otherwise it's exactly the same.
  • Loading branch information
domoscargin committed Jul 21, 2022
1 parent d223d1e commit 3cdbd4d
Show file tree
Hide file tree
Showing 3 changed files with 169 additions and 672 deletions.
2 changes: 1 addition & 1 deletion lib/metalsmith.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const permalinks = require('metalsmith-permalinks') // apply a permalink pattern
const canonical = require('metalsmith-canonical') // add a canonical url property to pages

const sass = require('@metalsmith/sass') // convert Sass files to CSS using Dart Sass
const postcss = require('metalsmith-postcss')
const postcss = require('@metalsmith/postcss')

const rollup = require('metalsmith-rollup') // used to build GOV.UK Frontend JavaScript
const resolve = require('rollup-plugin-node-resolve') // rollup plugin to resolve node_modules
Expand Down
Loading

0 comments on commit 3cdbd4d

Please sign in to comment.