1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/postcss.config.js

16 lines
344 B
JavaScript
Raw Normal View History

const postcssPresetEnv = require('postcss-preset-env');
2024-04-15 02:06:06 -07:00
/** @type {import('postcss-load-config').Config} */
const config = ({ env }) => ({
2023-03-14 20:01:10 -07:00
plugins: [
postcssPresetEnv({
features: {
'logical-properties-and-values': false
}
}),
2024-04-15 02:06:06 -07:00
env === 'production' ? require('cssnano') : '',
2023-03-14 20:01:10 -07:00
],
});
2024-04-15 02:06:06 -07:00
module.exports = config;