2022-08-28 15:23:10 +02:00
|
|
|
import { Design } from '@freesewing/core'
|
2022-08-29 08:31:23 +02:00
|
|
|
import { name, version } from '../package.json' assert { type: 'json' }
|
2022-08-28 15:23:10 +02:00
|
|
|
import { pluginBundle } from '@freesewing/plugin-bundle'
|
|
|
|
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
|
|
|
|
import { back } from './back.mjs'
|
|
|
|
import { front } from './front.mjs'
|
|
|
|
|
|
|
|
// Setup our new design
|
|
|
|
const Aaron = new Design({
|
|
|
|
name,
|
|
|
|
version,
|
|
|
|
parts: [ back, front ],
|
|
|
|
plugins: pluginBundle,
|
|
|
|
conditionalPlugins: bustPlugin
|
|
|
|
})
|
|
|
|
|
|
|
|
// Named exports
|
|
|
|
export { back, front, Aaron }
|