mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-21 07:21:37 +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,
|
||
|
};
|
||
|
};
|