mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 16:41:36 +01:00
Fix PostCSS config (#29926)
This commit is contained in:
parent
ee4ea83a87
commit
67dd1763bb
1 changed files with 7 additions and 4 deletions
|
@ -1,7 +1,10 @@
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue