1
0
Fork 0
freesewing/sites/dev/docs/reference/plugins/versionfree-svg/readme.mdx

32 lines
917 B
Text
Raw Normal View History

2021-12-28 09:09:27 +01:00
---
title: plugin-versionfree-svg
2021-12-28 09:09:27 +01:00
---
Published as [@freesewing/plugin-versionfree-svg][1], this plugin suppresses
the inclusion of the FreeSewing version number in SVG output.
This allows you to more easily check for differences in the
output of different pattern versions of the same design.
Without the plugin, false positives could be seen simply due to
differing FreeSewing version numbers.
2021-12-28 09:09:27 +01:00
## Installation
```sh
npm install @freesewing/plugin-versionfree-svg
2021-12-28 09:09:27 +01:00
```
## Usage
Either [add it as a part plugins](/reference/api/part/config/plugins) in your
design, or [add it to a pattern instance with
Pattern.use()](/reference/api/pattern/use).
2021-12-28 09:09:27 +01:00
To import the plugin for use:
```js
import { versionfreeSvgPlugin } from '@freesewing/plugin-versionfree-svg'
// or
import { pluginVersionfreeSvg } from '@freesewing/plugin-versionfree-svg'
```
2021-12-28 09:09:27 +01:00
[1]: https://www.npmjs.com/package/@freesewing/plugin-versionfree-svg