Commit Graph
12 Commits
Author SHA1 Message Date
Greg Bergé b88c44ee76 wip 2021-10-29 08:30:35 +02:00
Greg Bergé 1f107af5aa feat: upgrade to svgo v2
BREAKING CHANGE: config format of SVGO changes & SVGR does not merge SVGO config.
2021-09-05 23:09:18 +02:00
Bogdan Chadkin 1f015eb16f perf: replace merge-deep with smaller deepmerge (#463)
Deepmerge has no dependencies and the package is smaller.

https://packagephobia.com/result?p=deepmerge
https://packagephobia.com/result?p=merge-deep
2020-07-27 17:51:49 +02:00
Xingwang Liao 8049b1a636 feat(svgo): add .svgorc.js config file support (#451)
#412 add any SVGO config format support but missing .svgorc.js
2020-06-26 21:48:33 +02:00
Greg Bergé 8c6f7b560e style: prettier format 2020-04-27 22:15:25 +02:00
Greg Bergé f2b2367389 fix(svgo): support any SVGO config format (#412)
Fixes #400
2020-03-22 10:12:12 +01:00
Samuel Meuli 88110b6eb4 fix: verify that svgoConfig.plugins is an array (#397) 2020-02-16 16:21:13 +01:00
tardiva c9d2dfcb8d fix: fix merging svgo plugins in config (#384) 2020-01-20 11:01:01 +01:00
Greg Bergé 7f258ab3cf feat: support file-loader v5
Fixes #367
2019-12-18 17:07:00 +01:00
Adrian Pascu f476c8ec7e fix: keep viewBox when dimensions are removed (#281) 2019-03-10 23:54:39 +01:00
Greg Bergé 06c338dad0 feat(svgo): prefix ids by default
Closes #210
2018-11-04 16:02:04 +01:00
Greg Bergé ac8b8cacc5 feat(v4): new architecture
- Replace h2x by rehype + babel
- Move jsx, prettier and svgo into separated plugins

BREAKING CHANGE:

- `template` option must now returns a Babel AST
- `@svgr/core` does not include svgo & prettier by default
2018-11-04 16:01:46 +01:00