2021-12-28 09:09:27 +01:00
|
|
|
---
|
2022-12-13 04:39:07 -08:00
|
|
|
title: plugin-versionfree-svg
|
2021-12-28 09:09:27 +01:00
|
|
|
---
|
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
Published as [@freesewing/plugin-versionfree-svg][1], this plugin suppresses
|
2022-12-13 04:39:07 -08:00
|
|
|
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
|
2022-10-02 00:27:09 +02:00
|
|
|
npm install @freesewing/plugin-versionfree-svg
|
2021-12-28 09:09:27 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2022-10-02 00:27:09 +02:00
|
|
|
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
|
|
|
|
2022-12-13 04:39:07 -08: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
|
|
|
|
2022-12-13 04:39:07 -08:00
|
|
|
[1]: https://www.npmjs.com/package/@freesewing/plugin-versionfree-svg
|