mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-30 02:54:09 +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,
|
||
|
};
|
||
|
};
|