Greg Bergé
138c493b2a
feat(native): automatically convert inline style in native
...
Closes #588
2021-12-01 22:45:33 +01:00
Greg Bergé and GitHub
16664327ab
feat(typescript): add types everywhere ( #611 )
...
The whole codebase has been rewritten to TypeScript.
BREAKING CHANGE: template signature has changed
2021-10-31 09:49:38 +01: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 and GitHub
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 and GitHub
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é and GitHub
f2b2367389
fix(svgo): support any SVGO config format ( #412 )
...
Fixes #400
2020-03-22 10:12:12 +01:00
Samuel Meuli and GitHub
88110b6eb4
fix: verify that svgoConfig.plugins is an array ( #397 )
2020-02-16 16:21:13 +01:00
tardiva and Greg Bergé
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 and Greg Bergé
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