mirror of
https://github.com/searxng/searxng.git
synced 2024-11-05 12:50:11 +01: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>
20 lines
318 B
JavaScript
20 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'
|
|
],
|
|
};
|