1
0
Fork 0

fix(components): Include all components in build

This commit is contained in:
Joost De Cock 2020-12-26 13:19:16 +01:00
parent cc8657d750
commit 29df8e2ceb
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"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",
"author": "Joost De Cock <joost@decock.org> (https://github.com/joostdecock)",
"homepage": "https://freesewing.org/",

View file

@ -34,7 +34,7 @@ const createConfig = (component, module) => {
const config = []
// When developing, you can use this to only rebuild the components you're working on
let dev = true
let dev = false
let only = ['Workbench']
for (let component of components) {
if (!dev || only.indexOf(component) !== -1) config.push(createConfig(component, false))