1
0
Fork 0
freesewing/markdown/dev/reference/plugins/bundle/en.md
2022-07-27 14:38:18 -07:00

1.9 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);