fix(components): Include all components in build
This commit is contained in:
parent
cc8657d750
commit
29df8e2ceb
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@freesewing/components",
|
"name": "@freesewing/components",
|
||||||
"version": "2.10.8-rc.0",
|
"version": "2.10.8-rc.0a",
|
||||||
"description": "A collection of React components for FreeSewing web UIs",
|
"description": "A collection of React components for FreeSewing web UIs",
|
||||||
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
|
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
|
||||||
"homepage": "https://freesewing.org/",
|
"homepage": "https://freesewing.org/",
|
||||||
|
|
|
@ -34,7 +34,7 @@ const createConfig = (component, module) => {
|
||||||
|
|
||||||
const config = []
|
const config = []
|
||||||
// When developing, you can use this to only rebuild the components you're working on
|
// When developing, you can use this to only rebuild the components you're working on
|
||||||
let dev = true
|
let dev = false
|
||||||
let only = ['Workbench']
|
let only = ['Workbench']
|
||||||
for (let component of components) {
|
for (let component of components) {
|
||||||
if (!dev || only.indexOf(component) !== -1) config.push(createConfig(component, false))
|
if (!dev || only.indexOf(component) !== -1) config.push(createConfig(component, false))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue