mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-15 23:43:02 +03:00
21 lines
296 B
JavaScript
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,
|
|
};
|
|
};
|