Commit Graph

78 Commits

Author SHA1 Message Date
wherewhere 2528fcc394 feat: add source map supports 2024-12-04 16:41:23 +08:00
wherewhere bcaa327494 feat: add .webmanifest as json, add .map and .wasm to compressing 2024-12-03 16:41:52 +08:00
wherewhere ac31b9edaa feat: register compression after minify 2024-12-03 16:18:51 +08:00
MDLeom 30c33c0ad3
docs: install zstd dependency explicitly
using --force --include=optional flags are excessive
This reverts commit e33fd0ed5d &
1b04f7c8f1.
2024-06-11 11:30:02 +00:00
MDLeom c18f4c8476
docs: differentiate minify and compress
update snyk badge
2024-06-10 06:18:06 +00:00
MDLeom e33fd0ed5d
build(npm): --force flag to install optional deps
of child deps
required by https://github.com/curbengh/hexo-yam#cannot-find-module-mongodb-jszstd-linux-x64-gnu
2024-06-08 08:11:38 +00:00
MDLeom 73db847fd4
docs: reorder sections
removed outdated http-compression section
2024-06-08 08:11:28 +00:00
Ming Di Leom 7639547408
Merge pull request #157 from curbengh/previewServer
feat: previewServer option
2024-06-07 20:06:54 +09:30
MDLeom 1b04f7c8f1
docs(zstd): --force flag to install optional deps
of child deps
https://stackoverflow.com/a/42400102
2024-06-07 09:04:05 +00:00
MDLeom 18a5d8108b
test: include optional deps
to include zstd binary
2024-06-06 11:45:53 +00:00
MDLeom 7f2033e553
feat: zstd compression
disabled by default due to lack of server support
close #156
2024-06-06 11:14:57 +00:00
MDLeom e9584b2e0b
feat: previewServer option
BREAKING CHANGE
plugin is now disabled by default when running `hexo server`,
unless previewServer is set to false.

Close #154
Inspired by e778c55f37/index.js (L49)
2024-06-05 11:08:12 +00:00
MDLeom f65e7e7a22
docs: remove deprecated lgtm badge 2023-04-28 08:53:38 +00:00
MDLeom d9e6228960
docs: fix build badge
https://github.com/badges/shields/issues/8671
2023-03-06 09:33:04 +00:00
MDLeom a6e2ea0879
fix(svg): svgo@3 now throws error
- cleanupIDs -> cleanupIds
- https://github.com/svg/svgo/releases/tag/v3.0.0
2022-11-06 02:58:07 +00:00
MDLeom 197836b82b
docs: cleanup previous config changes
- update brotli support status
2022-05-06 06:21:15 +00:00
MDLeom c0041b0f23
fix(svg): compatibility with svgo 2.4+
- overriding default plugins
- https://github.com/svg/svgo/releases/tag/v2.4.0
2021-10-10 09:19:50 +00:00
MDLeom 1f95af32b7
docs(v5): syntax change in svg.plugins option 2021-04-25 08:41:23 +00:00
MDLeom 3819909c84
chore(deps): bump svgo from 1.3.2 to 2.3.0 (BREAKING CHANGE)
- BREAKING CHANGE: syntax of minify.svg.plugins option
  * https://github.com/svg/svgo/releases/tag/v2.0.0
- svgo optimize() changed from async to sync
2021-04-25 08:25:32 +00:00
MDLeom ef57b75638
docs(precompressed): link to caddy guide 2020-11-13 23:04:16 +00:00
MDLeom 5cc13c1ad8 docs(br): GitLab Pages now support pre-compressed br
- https://gitlab.com/gitlab-org/gitlab-pages/-/merge_requests/359
2020-11-12 02:05:51 +00:00
MDLeom 140a005dc7 docs(br): Caddy v2 doesn't server pre-compressed files automatically 2020-11-12 02:05:51 +00:00
MDLeom 9ac8969a08
docs: Netlify supports brotli 2020-09-05 14:15:58 +00:00
MDLeom 353ca8ea37
docs: links to xml & json sections 2020-09-05 14:05:10 +00:00
MDLeom fd117bcd58
docs(badge): add codecov 2020-09-05 13:51:51 +00:00
MDLeom c8cc870b4c
docs(badge): add logo 2020-09-05 13:49:02 +00:00
MDLeom 327b36782b
ci(snyk): fix cron syntax
- docs: add actions badge
2020-09-05 12:47:23 +00:00
MDLeom d68c26a2c2
docs: use Shields.io badges
- move david-dm.org to more stable libraries.io
2020-09-05 10:18:51 +00:00
MDLeom 7f60c6959e
chore: replace deprecated greenkeeper with dependabot 2020-09-05 10:10:34 +00:00
MDLeom 8bbecf676f
feat: utilise better minify-xml
- replace pretty-data
2020-09-02 11:23:20 +00:00
MDLeom c721fa8c02
docs(readme): add lgtm.com badges 2020-02-24 04:11:50 +00:00
curbengh fdcdbef4a1
feat: minify json 2020-01-03 01:17:37 +00:00
curbengh 317b5e43d3
feat: minify xml 2020-01-03 00:35:25 +00:00
curbengh 8d0fdaeb80
docs: clarify logger -> verbose 2020-01-02 10:46:28 +00:00
curbengh fa6f514a05
ci: add code coverage report 2019-12-29 04:14:49 +00:00
curbengh 60642c8048
docs: add TOC 2019-12-29 03:51:02 +00:00
curbengh 50d80ccc70
feat(globbing): support disabling basename for each pattern in 'include:' option 2019-12-28 10:10:30 +00:00
curbengh 6111d21a7c
docs: 'logger:', compression level, 'basename' globOptions 2019-12-28 01:12:40 +00:00
curbengh 887eeda3cc
feat: add 'priority' options 2019-10-09 23:33:34 +01:00
curbengh ddf4415ef0
docs: update options naming 2019-09-11 02:48:32 +01:00
curbengh b054c0a24b
docs(readme): update globOptions 2019-08-08 09:08:51 +09:30
curbengh 37dac8c011 chore: update username 2019-07-18 17:34:26 +09:30
weyusi a75fc79e3d docs: tidy up readme 2019-07-10 12:04:37 +09:30
weyusi c69b6d3356 feat: switch nanomatch to micromatch 2019-07-10 11:50:23 +09:30
weyusi db58c8e686 fix: typo in default config of svgo 2019-05-21 13:45:18 +09:30
weyusi 08e3cc5a46 docs: update status on brotli support by github/gitlab/netlify 2019-05-08 12:28:19 +09:30
weyusi ce7a1f607d docs: minify svg 2019-04-23 17:51:44 +09:30
weyusi 374c16575b style: rearrange and give more neat_js config examples 2019-04-23 17:46:56 +09:30
weyusi 15465ca16b feat: minify svg using svgo 2019-04-23 17:33:30 +09:30
weyusi 528486761d feat: allow custom file extension for compressions 2019-04-23 15:10:43 +09:30