1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-12 21:59:04 +09:00
YuruToot/postcss.config.js

11 lines
247 B
JavaScript
Raw Normal View History

2024-04-15 18:06:06 +09:00
/** @type {import('postcss-load-config').Config} */
const config = ({ env }) => ({
2023-03-15 12:01:10 +09:00
plugins: [
2024-04-15 18:06:06 +09:00
require('postcss-preset-env'),
require('autoprefixer'),
env === 'production' ? require('cssnano') : '',
2023-03-15 12:01:10 +09:00
],
});
2024-04-15 18:06:06 +09:00
module.exports = config;