🔧 Switched to default export for patterns
This commit is contained in:
parent
1c127410b5
commit
bb331a0964
70 changed files with 457 additions and 422 deletions
|
@ -1,8 +1,8 @@
|
|||
import options from "./prebuild/options";
|
||||
import optionGroups from "./prebuild/option-groups";
|
||||
import versions from "./prebuild/versions";
|
||||
export { default as options } from "./prebuild/options";
|
||||
export { default as optionGroups } from "./prebuild/option-groups";
|
||||
export { default as versions } from "./prebuild/versions";
|
||||
|
||||
const list = [
|
||||
export const list = [
|
||||
"aaron",
|
||||
"bent",
|
||||
"brian",
|
||||
|
@ -18,5 +18,3 @@ const list = [
|
|||
"trayvon",
|
||||
"wahid"
|
||||
];
|
||||
|
||||
export { list, options, optionGroups, versions };
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
const path = require("path");
|
||||
const fse = require("fs-extra");
|
||||
const patterns = require("@freesewing/patterns").default;
|
||||
const patterns = require("@freesewing/patterns");
|
||||
|
||||
const patternOptions = pattern => {
|
||||
let all = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue