basic react package build config

This commit is contained in:
Felix Roos 2022-05-17 00:32:57 +02:00
parent 2a618b42b7
commit b59f36f40b
16 changed files with 620 additions and 163 deletions

View file

@ -4,6 +4,7 @@ Copyright (C) 2022 Strudel contributors - see <https://github.com/tidalcycles/st
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
export default function cx(...classes) { // : Array<string | undefined>
export default function cx(...classes) {
// : Array<string | undefined>
return classes.filter(Boolean).join(' ');
}