1
0
mirror of https://github.com/svg/svgo.git synced 2025-04-19 10:22:15 +03:00

1 Commits

Author SHA1 Message Date
Bogdan Chadkin
bb3f1a99ef [new plugin] reimplement inlineDefs
The code is taken from https://github.com/svg/svgo/pull/976, refactored
with new api, covered types and simplified.

Plugin has no dependencies so can be used without changing.

```
const inlineDefs = require('./inlineDefs.js');

module.exports = {
  plugins: [
    'preset-default',
    inlineDefs
  ]
};
```
2022-02-21 19:12:53 +03:00