mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
15 lines
344 B
JavaScript
15 lines
344 B
JavaScript
const postcssPresetEnv = require('postcss-preset-env');
|
|
|
|
/** @type {import('postcss-load-config').Config} */
|
|
const config = ({ env }) => ({
|
|
plugins: [
|
|
postcssPresetEnv({
|
|
features: {
|
|
'logical-properties-and-values': false
|
|
}
|
|
}),
|
|
env === 'production' ? require('cssnano') : '',
|
|
],
|
|
});
|
|
|
|
module.exports = config;
|