Skip to content
Snippets Groups Projects
Unverified Commit 67dd1763 authored by Renaud Chaput's avatar Renaud Chaput Committed by GitHub
Browse files

Fix PostCSS config (#29926)

parent ee4ea83a
No related branches found
No related tags found
No related merge requests found
module.exports = ({ env }) => ({
/** @type {import('postcss-load-config').Config} */
const config = ({ env }) => ({
plugins: [
'postcss-preset-env',
'autoprefixer',
env === 'production' ? 'cssnano' : '',
require('postcss-preset-env'),
require('autoprefixer'),
env === 'production' ? require('cssnano') : '',
],
});
module.exports = config;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment