Skip to content

Commit

Permalink
chore(11ty): add autoprefixer
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Mar 3, 2022
1 parent 5d7f826 commit 2c17877
Show file tree
Hide file tree
Showing 3 changed files with 20,231 additions and 1,681 deletions.
3 changes: 2 additions & 1 deletion a11y.css.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const postcss = require('postcss')
const atImport = require('postcss-import')
const uglify = require('uglify-es')
const cssnano = require('cssnano')
const autoprefixer = require('autoprefixer')

const DIRECTORIES = {
css: {
Expand Down Expand Up @@ -60,7 +61,7 @@ const parseAssets = () => {
const JS = fs.readFileSync(DIRECTORIES.assets.js.input + 'docs.js', 'utf8')

// Parse and write CSS output file
postcss([atImport])
postcss([atImport, autoprefixer])
.process(CSS, {
from: CSS_INPUT
})
Expand Down
Loading

0 comments on commit 2c17877

Please sign in to comment.