website/postcss.config.js

11 lines
346 B
JavaScript
Raw Normal View History

2021-07-17 14:41:01 +02:00
module.exports = {
parser: 'postcss-scss',
plugins: [
require('postcss-import'),
require('tailwindcss'),
require("autoprefixer"), // example of plugin you might use
...(process.env.JEKYLL_ENV == "production" // example of only using a plugin in production
? [require("cssnano")({ preset: "default" })]
: [])
]
};