1
0
Fork 0
freesewing/markdown/dev/reference/plugins/bundle/en.md
2021-12-27 17:33:49 +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);