construction: Dual-builds for node and browser
This commit is contained in:
parent
d74ceaf9f2
commit
1f33804778
12 changed files with 7560 additions and 35 deletions
14
packages/brian/src/index.js
Normal file
14
packages/brian/src/index.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
import freesewing from 'freesewing'
|
||||
import * as patternConfig from '../config/config'
|
||||
import { Pattern } from 'freesewing/dist/lib/pattern'
|
||||
import backBlock from './lib/back'
|
||||
|
||||
var brian = new freesewing.pattern(patternConfig);
|
||||
|
||||
brian.draft = function(final = true) {
|
||||
backBlock.draft(brian, final);
|
||||
|
||||
return brian;
|
||||
}
|
||||
|
||||
module.exports = brian;
|
Loading…
Add table
Add a link
Reference in a new issue