hugo-theme-hello-friend/postcss.config.js
2018-07-20 19:14:22 +02:00

19 lines
458 B
JavaScript

const url = require('postcss-url')
const imports = require('postcss-import')
const nested = require('postcss-nested')
const stripComments = require('postcss-strip-inline-comments')
const postCSSPresetEnv = require('postcss-preset-env')
const browsers = require('browserslist')
module.exports = () => ({
plugins: [
stripComments,
url,
imports,
nested,
postCSSPresetEnv({
stage: 1,
browsers: 'last 2 versions',
})
]
})