AFFiNE/apps/core/.webpack/postcss.config.cjs

21 lines
296 B
JavaScript
Raw Normal View History

2023-07-18 19:53:10 +03:00
const cssnano = require('cssnano');
module.exports = function (context) {
const plugins = [
cssnano({
preset: [
'default',
{
convertValues: false,
},
],
}),
];
return {
from: context.from,
plugins,
to: context.to,
};
};