mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-14 12:25:07 +01:00
20 lines
458 B
JavaScript
20 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',
|
|
})
|
|
]
|
|
})
|