2024-04-15 05:06:06 -04:00
|
|
|
/** @type {import('postcss-load-config').Config} */
|
|
|
|
const config = ({ env }) => ({
|
2023-03-14 23:01:10 -04:00
|
|
|
plugins: [
|
2024-04-15 05:06:06 -04:00
|
|
|
require('postcss-preset-env'),
|
|
|
|
require('autoprefixer'),
|
|
|
|
env === 'production' ? require('cssnano') : '',
|
2023-03-14 23:01:10 -04:00
|
|
|
],
|
2019-01-04 05:28:38 -05:00
|
|
|
});
|
2024-04-15 05:06:06 -04:00
|
|
|
|
|
|
|
module.exports = config;
|