catstodon/postcss.config.js
2024-04-15 09:06:06 +00:00

10 lines
247 B
JavaScript

/** @type {import('postcss-load-config').Config} */
const config = ({ env }) => ({
plugins: [
require('postcss-preset-env'),
require('autoprefixer'),
env === 'production' ? require('cssnano') : '',
],
});
module.exports = config;