1
0
mirror of https://github.com/searxng/searxng.git synced 2024-09-13 08:40:16 +02:00
searxng/searx/static/themes/simple
Markus Heiser bf52353a5c [enh] minify searxng-wordmark.svg (HTMLMinifier)
Command::

  ./node_modules/.bin/html-minifier \
      --remove-comments \
      --collapse-whitespace \
      src/svg/searxng-wordmark.svg \
      -o ../../../templates/__common__/searxng-wordmark.min.svg

- html-minifier: https://github.com/kangax/html-minifier
  - onilne: https://kangax.github.io/html-minifier
  - grunt: https://www.npmjs.com/package/grunt-contrib-htmlmin
  - grunt-contrib-htmlmin: https://github.com/gruntjs/grunt-contrib-htmlmin
  - npm: https://www.npmjs.com/package/html-minifier

To test, rebuild your node environment::

  make node.env

Alternatives:

- pretty-data: https://github.com/vkiryukhin/pretty-data
  - grunt: https://www.npmjs.com/package/grunt-xmlmin
  - grunt-xmlming: https://github.com/dtrunk90/grunt-xmlmin
  - npm: https://www.npmjs.com/package/grunt-xmlmin

- minify-xml: https://github.com/kristian/minify-xml
  - no grunt package available
  - npm: https://www.npmjs.com/package/minify-xml

src/svg/searxng-wordmark.svg':
'../../../templates/__common__/searxng-wordmark.min.svg'

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-11-13 09:05:20 +01:00
..
css [build] /static 2021-11-13 00:52:34 +01:00
fonts [mod] simple theme: include fonts 2021-06-22 08:15:17 +02:00
img [mod] simple theme: SearXNG logo 2021-10-29 20:24:04 +02:00
js [build] /static 2021-11-11 22:28:09 +01:00
src [simple theme] SearXNG wordmark (SVG) 2021-11-13 09:05:20 +01:00
.eslintrc.json eslint: grunt integration 2021-08-31 12:20:23 +02:00
.gitignore [themes] ignore packages-lock.json 2021-06-22 08:17:06 +02:00
.jshintrc [emacs] .dir-locals.el: add setup for js-mode 2021-06-24 13:27:21 +02:00
.stylelintrc.json [mod] add stylelint process to target themes.simple 2021-06-24 13:27:21 +02:00
gruntfile.js [enh] minify searxng-wordmark.svg (HTMLMinifier) 2021-11-13 09:05:20 +01:00
package.json [enh] minify searxng-wordmark.svg (HTMLMinifier) 2021-11-13 09:05:20 +01:00