1
0
Fork 0
freesewing/markdown/dev/reference/plugins/bundle/en.md
Joost De Cock 249f2600e5 chore: More linting
@nicholasdower is smarter than me. What's missing was the
`listItemIndent` setting
2022-02-20 14:44:38 +01:00

1.3 KiB

title
@freesewing/plugin-bundle

The @freesewing/plugin-bundle plugin bundles the most common FreeSewing build-time plugins:

Almost all patterns use these plugins, so it made sense to bundle them.

Installation

npm install @freesewing/plugin-bundle

Usage

Like all build-time plugins, you load them by passing them to the freesewing.Design super-constructor:

import freesewing from "@freesewing/core";
import plugins from "@freesewing/plugin-bundle";
import config from "../config";

const Pattern = new freesewing.Design(config, plugins);