Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): single individuals element breaks build
It seems that the current logic (below) to create file blob like {foo,bar,buz}.less assumes that config.globs.individuals is always like {a,b,c}, but it does not when individuals has only one single element. After This PR, config.globs.components and config.globs.individuals are {a,b,c} if those arrays has 1 or more elements, so build/css.js and build/javascript.js works regardless of the number of elements in individuals/components
- Loading branch information