mirror of
https://github.com/searxng/searxng.git
synced 2024-11-23 11:21:00 +00:00
34f5e9c7a3
automatically fix some of the problems reported by eslint rules:: $ ./manage nvm.bash nvm-env$ npm --prefix searx/static/themes/simple run eslint-fix Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
19 lines
318 B
JavaScript
19 lines
318 B
JavaScript
/**
|
|
* @license
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*
|
|
* svgo config: Optimize SVG for WEB usage
|
|
*/
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
{
|
|
name: 'preset-default',
|
|
},
|
|
// make diff friendly
|
|
'sortAttrs',
|
|
// Optimize SVG for WEB usage
|
|
'convertStyleToAttrs',
|
|
'removeXMLNS'
|
|
],
|
|
};
|