AFFiNE/packages/frontend/core/.webpack/postcss.config.cjs
2023-10-18 15:30:08 +00:00

21 lines
296 B
JavaScript

const cssnano = require('cssnano');
module.exports = function (context) {
const plugins = [
cssnano({
preset: [
'default',
{
convertValues: false,
},
],
}),
];
return {
from: context.from,
plugins,
to: context.to,
};
};